![]() ![]() |
Mar 27 2006, 03:28 AM
Post
#1
|
|
|
Group: Members Posts: 153 Joined: 5-January 04 Member No.: 1,081 |
First release of SimpleEdit just uploaded to My Webpage .
This is a fairly basic programmers text editor for Qtopia on the Zaurus. It uses the Scintilla editor widget (via the QScintilla wrapper) for it's underlying edit widget, and as such supports folding, search/replace & code completion. Also has multiple tabs, splitable views, syntax highlighting, undo/redo, keyboard shortcuts, etc. Try it out - I reckon it's not bad - better than tkcEdit anyway (has keyboard shortcuts for those of us with IR/USB keyboards anyway).<br> I've only tried this on the SL6000 - any feedback appreciated. ![]() (I know we don't really need another editor for the Zaurus - I really just wanted one that did the stuff I wanted it to) |
|
|
|
Mar 27 2006, 03:29 AM
Post
#2
|
|
|
Group: Members Posts: 153 Joined: 5-January 04 Member No.: 1,081 |
Oh yeah - I would have entered this on ELSI, but to be honest ELSI is to much of a mucking about.....I miss the old ZSI.
|
|
|
|
Mar 27 2006, 03:39 AM
Post
#3
|
|
![]() Group: Members Posts: 1,376 Joined: 11-January 04 From: Poznań, Poland Member No.: 1,413 |
source? I want to test it under OZ/OPIE
|
|
|
|
Mar 27 2006, 04:17 AM
Post
#4
|
|
|
Group: Members Posts: 153 Joined: 5-January 04 Member No.: 1,081 |
|
|
|
|
Mar 27 2006, 07:30 AM
Post
#5
|
|
![]() Group: Members Posts: 1,248 Joined: 6-July 04 Member No.: 3,928 |
I just tried it on my old SL-C860 (running Cacko 1.23), don't particular need it since I use SciTE on my OpenBSD SL-C3000 now but this was just the sort of thing I wanted at one time for Qtopia.
it doesn't seem to give the highlighting or code folding... are the lexers specifically omitted or installed from another package? Also one small thing is that it doesn't install an .desktop file. -Andy |
|
|
|
Mar 27 2006, 08:30 AM
Post
#6
|
|
|
Group: Members Posts: 153 Joined: 5-January 04 Member No.: 1,081 |
QUOTE(iamasmith @ Mar 27 2006, 07:30 AM) I just tried it on my old SL-C860 (running Cacko 1.23), don't particular need it since I use SciTE on my OpenBSD SL-C3000 now but this was just the sort of thing I wanted at one time for Qtopia. it doesn't seem to give the highlighting or code folding... are the lexers specifically omitted or installed from another package? Also one small thing is that it doesn't install an .desktop file. -Andy Oops - left the .desktop file out of the IPK. New version (1.0.1) uploaded now (exactly the same, but it now installs the missing .desktop file). The lexer's for C/C++ and JavaScript are built in (auto-selected based on file extension). I left out the others to reduce the size of the binary (I didn't need them). I guess I can do a build with the others included if there's any demand. The code folding is turned off by default - turn it on by selecting the menu option View->Folding.
Attached File(s)
|
|
|
|
Mar 27 2006, 11:17 AM
Post
#7
|
|
|
Group: Members Posts: 1,213 Joined: 9-June 05 From: Gobi Desert, Mongolia Member No.: 7,306 |
nice job now I can dump yEdit
|
|
|
|
Mar 27 2006, 11:22 AM
Post
#8
|
|
|
Group: Members Posts: 668 Joined: 3-December 03 From: US Member No.: 1,034 |
Would love to see syntax highlighting for Python.
I want to be able to use for my Python code editing in particular. Thanks for the update though... |
|
|
|
Mar 27 2006, 09:12 PM
Post
#9
|
|
|
Group: Members Posts: 1,213 Joined: 9-June 05 From: Gobi Desert, Mongolia Member No.: 7,306 |
and perl too would be nice...
|
|
|
|
Mar 28 2006, 01:30 AM
Post
#10
|
|
|
Group: Members Posts: 153 Joined: 5-January 04 Member No.: 1,081 |
I didn't build in a lot of the lexers for languages that Scintilla supports to cut down on the binary size of SimpleEdit (small size == faster loading). But as people have asked for it - I've enabled some of the extra languages. A new version (1.0.2) is now available which supports syntax highlighting for the following languages:
Perl (*.pl) Python (*.py) HTML (*.htm,*.html) Java (*.java) C/C++ (*.c,*.cc,*.cpp,*.h,*.cxx) JavaScript (*.js) Guess that sorts everyone out now......
Attached File(s)
|
|
|
|
Mar 28 2006, 01:41 AM
Post
#11
|
|
![]() Group: Members Posts: 1,248 Joined: 6-July 04 Member No.: 3,928 |
QUOTE(cwaig @ Mar 28 2006, 09:30 AM) I didn't build in a lot of the lexers for languages that Scintilla supports to cut down on the binary size of SimpleEdit (small size == faster loading). But as people have asked for it - I've enabled some of the extra languages. A new version (1.0.2) is now available which supports syntax highlighting for the following languages: Perl (*.pl) Python (*.py) HTML (*.htm,*.html) Java (*.java) C/C++ (*.c,*.cc,*.cpp,*.h,*.cxx) JavaScript (*.js) Guess that sorts everyone out now...... Almost... you may want to check the CONTROL file.. the package insists on being renamed to simple-edit_arm.ipk now. Also it should be noted that the lexers only become active when you actually load a file... it may be nice to select lexers when the file is saved and possibly allow a manual selection so the lexers are active when you are in the first edit session. Currently to get the lexers active on your first edit session you must save the file, close it and re-open it. Aside from that yes, it's a great little editor -Andy |
|
|
|
Mar 28 2006, 01:52 AM
Post
#12
|
|
![]() Group: Members Posts: 133 Joined: 10-February 06 Member No.: 9,110 |
QUOTE(cwaig @ Mar 28 2006, 11:30 AM) I didn't build in a lot of the lexers for languages that Scintilla supports to cut down on the binary size of SimpleEdit (small size == faster loading). Could you write how to add other languages? Thanks in advance And I would like to know how to turn on highlighting of syntax for specified language. I tried yesterday and it didn't colorize html syntax. |
|
|
|
Mar 29 2006, 01:43 AM
Post
#13
|
|
![]() Group: Members Posts: 1,002 Joined: 28-April 05 From: Germany Member No.: 7,027 |
when I install the 1.0.2 package I can only start SimpleEdit from command line or from the QT / Applications menu, not from the Home / Application tab.
The icon created on the application tab has no name and produces an error message: "No application is defined for this type of document. Type is Applictions." If I start it from the menu, it starts in QVGA mode. If I edit the .desktop file manually and add the line Display = 640x480/144dpi,480x640/144dpi I can at least start it in VGA landscape mode. But still, the icon on the Application tab is not okay... Otherwise: A very, very nice editor it seems. Went up on my top three editors list to second item (first one is pico for command line :-) Thanks! daniel |
|
|
|
Mar 29 2006, 02:54 AM
Post
#14
|
|
![]() Group: Members Posts: 1,099 Joined: 17-December 03 From: Athens, Greece Member No.: 1,210 |
QUOTE Almost... you may want to check the CONTROL file.. the package insists on being renamed to simple-edit_arm.ipk now. all "-" in the filename are converted into "_" when you attach something to your post. and package names should not contain underscore... |
|
|
|
Mar 29 2006, 10:01 AM
Post
#15
|
|
|
Group: Members Posts: 902 Joined: 22-May 04 Member No.: 3,385 |
QUOTE(cwaig @ Mar 28 2006, 10:30 AM) I didn't build in a lot of the lexers for languages that Scintilla supports to cut down on the binary size of SimpleEdit (small size == faster loading). But as people have asked for it - I've enabled some of the extra languages. A new version (1.0.2) is now available which supports syntax highlighting for the following languages: Perl (*.pl) Python (*.py) HTML (*.htm,*.html) Java (*.java) C/C++ (*.c,*.cc,*.cpp,*.h,*.cxx) JavaScript (*.js) Guess that sorts everyone out now...... Don't know if this is too much to ask, but could you recompile again and ad support for PHP? |
|
|
|
![]() ![]() |
|
Lo-Fi Version | Time is now: 22nd May 2013 - 10:07 PM |