Help - Search - Members - Calendar
Full Version: Announce: Simpleedit
OESF Forums > General Forums > General Support and Discussion > Software
cwaig
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)
cwaig
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.
Hrw
source? I want to test it under OZ/OPIE smile.gif
cwaig
QUOTE(Hrw @ Mar 27 2006, 03:39 AM)
source? I want to test it under OZ/OPIE smile.gif
*


I'll get round to source (probably later in the week)......
iamasmith
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
cwaig
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.
bam
nice job now I can dump yEdit smile.gif
nilch
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...
bam
and perl too would be nice...smile.gif
cwaig
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......
iamasmith
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 smile.gif - Closer and closer to a version of qscite every day.

-Andy
Raul
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 smile.gif

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.
daniel3000
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
pgas
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...
ShiroiKuma
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?
bam
maybe a no-holds-barred version should be made(regardless of size), then a lite version(whats been asked for so far..."just an idea"
cwaig
I'm a bit disillusioned with the Z today (well, a minority of the people involved - see this thread) so I think I'll take a break from the forums (and Open Source in general) for while.

Might get round to looking at things again in a few weeks time.
iamasmith
QUOTE(cwaig @ Mar 30 2006, 12:18 AM)
I'm a bit disillusioned with the Z today (well, a minority of the people involved - see this thread) so I think I'll take a break from the forums (and Open Source in general) for while.

Might get round to looking at things again in a few weeks time.
*


I totally agree. That thread has been reported.

-Andy
nilch
Successfully installed Simpleedit, and boy, is it good .

I am ditching all other editors - at least for my Python editing and sticking to this.
Nice color highlighting, code folding, indentation control and other goodies.

Looks very nice, has a good screen real estate for actual editing and changeable font sizes so as not to hurt the eyes.

Very good editor for the Zaurus. Nice work in getting this together for the Z.
bam
me as well, yEdit is gone, the only ones I am using are ZEditor, Visiscript and this one.
cwaig
Well, couldn't resist after all....here's version 1.0.3.
Changes (1.0.2 -> 1.0.3):
- Highlight mode auto-select based on filename when you save.
- Manually selectable highlight mode.
- Visible indentation guides.
- Optional calltip's display.
- Visible whitespace.
- Tab Size setting.
- New view options panel, replaces most of the toggle's in the View menu.
- Load Scintilla .api files to generate call tips and code completions. I've packaged the "c.api" file for the standard C library in the IPK - but there's quite a few more kicking around (the full Java one is a bit big - but the Perl one is quite reasonable). You can put any additional .api's in the directory /opt/QtPalmtop/etc/SimpleEdit, and they'll load in on startup.
Cresho
QUOTE(cwaig @ Apr 3 2006, 05:44 PM)
Well, couldn't resist after all....here's version 1.0.3.
Changes (1.0.2 -> 1.0.3):
- Highlight mode auto-select based on filename when you save.
- Manually selectable highlight mode.
- Visible indentation guides.
- Optional calltip's display.
- Visible whitespace.
- Tab Size setting.
- New view options panel, replaces most of the toggle's in the View menu.
- Load Scintilla .api files to generate call tips and code completions. I've packaged the "c.api" file for the standard C library in the IPK - but there's quite a few more kicking around (the full Java one is a bit big - but the Perl one is quite reasonable). You can put any additional .api's in the directory /opt/QtPalmtop/etc/SimpleEdit, and they'll load in on startup.
*


looks like an excellent piece of software that i would like to add to my zaurus.when i tried installing it said "rename to simple-edit_arm" and i did. refused to install.
bam
way cool, cant wait to install! thank you very much!
Hrw
sources? This way OpenZaurus users will be able to try too...
Meanie
QUOTE(Cresho @ Apr 4 2006, 01:22 PM)
QUOTE(cwaig @ Apr 3 2006, 05:44 PM)
Well, couldn't resist after all....here's version 1.0.3.
Changes (1.0.2 -> 1.0.3):
- Highlight mode auto-select based on filename when you save.
- Manually selectable highlight mode.
- Visible indentation guides.
- Optional calltip's display.
- Visible whitespace.
- Tab Size setting.
- New view options panel, replaces most of the toggle's in the View menu.
- Load Scintilla .api files to generate call tips and code completions. I've packaged the "c.api" file for the standard C library in the IPK - but there's quite a few more kicking around (the full Java one is a bit big - but the Perl one is quite reasonable). You can put any additional .api's in the directory /opt/QtPalmtop/etc/SimpleEdit, and they'll load in on startup.
*


looks like an excellent piece of software that i would like to add to my zaurus.when i tried installing it said "rename to simple-edit_arm" and i did. refused to install.
*



the wiki changes the filename. try this copy:
http://zaurus.daemons.gr/menaie/feed/simpl...t_1.0.3_arm.ipk
I've archived all the packages that I like and use over there...
cwaig
QUOTE(Cresho @ Apr 3 2006, 07:22 PM)
looks like an excellent piece of software that i would like to add to my zaurus.when i tried installing it said "rename to simple-edit_arm" and i did.  refused to install.
*


Try downloading it from my website instead - the forum keeps renaming files...
cwaig
QUOTE(Hrw @ Apr 3 2006, 10:59 PM)
sources? This way OpenZaurus users will be able to try too...
*


Soon. I'm not being deliberately bad about the sources, simply haven't got round to it yet...
anonuk
great software,

any chance you could add the highlighting for ruby (and ruby on rails)?
Cresho
thanks guys. downloaded the renamed file and then i had to install from the topmost directory since it doesn not like to be installed from folders with spaces tongue.gif




--------------------
ohh gosh! this is one yummie piece of software. It is sad for the women of this world when i say, "it definetly is better!"
ShiroiKuma
QUOTE(cwaig @ Apr 4 2006, 11:28 AM)
Soon. I'm not being deliberately bad about the sources, simply haven't got round to it yet...
*

How is it looking, I'd like to try to rebuild it too.

From my perspective, it has three "flaws"

1. No php syntax highlighting
2. No UTF-8 support - serious
3. Many input methods on the Z don't work with it, i.e. the default Sharp kanji handwriting, QPOBox, etc.
cwaig
QUOTE(ShiroiKuma @ Apr 13 2006, 03:44 AM)
QUOTE(cwaig @ Apr 4 2006, 11:28 AM)
Soon. I'm not being deliberately bad about the sources, simply haven't got round to it yet...
*

How is it looking, I'd like to try to rebuild it too.

From my perspective, it has three "flaws"

1. No php syntax highlighting
2. No UTF-8 support - serious
3. Many input methods on the Z don't work with it, i.e. the default Sharp kanji handwriting, QPOBox, etc.
*



Same as above - sources when I get the time. And sorry, being a typical Englishman I don't speak any other languages so UTF-8 and japanese input methods are beyond me....
bam
actually I would like it to be able to 'see' hidden files smile.gif
cwaig
QUOTE(bam @ Apr 13 2006, 04:45 PM)
actually I would like it to be able to 'see' hidden files smile.gif
*


Now that's an easy one - done, available in the next release (at the same time as the source..)

Laters,
Craig
bam
way too cool/ now zeditor is gone as well, any chance in being able to select whether a cr/lf or just a lf is placed at the end of the line? some config files are sensitive to the cr at the end of lines in the conf files.
bam
slightly off-topic, I see you also coded clipboard applet, any chance in getting multiple clipboards, say selectable from 1 to 5 or so?
BerndS
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......
*


Very nice program! I like it.

I would love to see syntax highlighting for shell scripts (ksh, bash, etc.) and the menu entry to select the type of a file for syntax highligting.

And two minor "bugs" :

The edit menu does not stay open if selected on a SL-3100. To use it I must open the view menu or the file menu and use the cursor right/left key to switch to the edit menu.

The menu key does not open the menu.


regards

Bernd
Raul
QUOTE(cwaig @ Apr 4 2006, 03:44 AM)
You can put any additional .api's in the directory /opt/QtPalmtop/etc/SimpleEdit, and they'll load in on startup.

Can I put the properties files with syntax highlighting to this directory? Would it work?

Kind regards,
Raul
Cresho
I just noticed there is a problem in looking for files within invisible directories. Any work arounds for this?

i cant see folders like .zaurus or something like this
bam
any news on source release? So i can compile a nice custom fast load one for personal use? (also I can include the python.api file I produced from kopsis python image(I found a nice script on the net)
Sy Ali
The "home page" listed in the first post is http://88.96.49.152/~zaurus/ which is not working. Is there a proper home page?
Snappy
QUOTE(ShiroiKuma @ Apr 13 2006, 07:44 PM)
QUOTE(cwaig @ Apr 4 2006, 11:28 AM)
Soon. I'm not being deliberately bad about the sources, simply haven't got round to it yet...
*

How is it looking, I'd like to try to rebuild it too.

From my perspective, it has three "flaws"

1. No php syntax highlighting
2. No UTF-8 support - serious
3. Many input methods on the Z don't work with it, i.e. the default Sharp kanji handwriting, QPOBox, etc.
*



ok, let me rephrase that...

Three new feature candidates for future releases ... wink.gif

1. No php syntax highlighting
2. No UTF-8 support - serious
3. Many input methods on the Z don't work with it, i.e. the default Sharp kanji handwriting, QPOBox, etc.

#2 and #3 is a must for me as I read and input English and Chinese. biggrin.gif Looking forward to that! smile.gif
Snappy
QUOTE(Sy Ali @ Jun 19 2006, 05:24 PM)
The "home page" listed in the first post is http://88.96.49.152/~zaurus/ which is not working.  Is there a proper home page?
*


You can get 1.0.3 from Meanie's site ... http://zaurus.daemons.gr/menaie/feed/ biggrin.gif
Sy Ali
Thanks Snappy.

I played around with it.. nice little program. Of course, I'm partial to Ruby programming, so highlighting and code folding for it would be nice. wink.gif

Is it possible to have the colouration and highlighting be separate modules somehow? Then I could add support myself.
amatos
Hi to all,

I am trying to use SimpleEdit on Cacko 1.23 but I stumble over the same problem reported before: The application icon doesn't have any name, and when I try to run it through QTopia, it reports "No file is defined for this document". I have the file with the proper name, I believe - I've downloaded it from Meanie's feed.

How do I fix this?

Best regards,

Artur.
bam
no news on source release....bummer, I was going to fix the edit menu glitch. I like this app even better than visiscript(because of the code completion stuff)
Retief
1.0.3 works great so far on my SL-C860 (stock Sharp ROM, hand-tweaked for English). Only one peculiar problem -- when its running, I get no icon in the taskbar, so if I switch to another app there's no easy way to switch back huh.gif . Any idea how to resolve that? Thanks.
Retief
Never mind. Reinstalled and tied to it an app button. Now I'm seeing the icon.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2014 Invision Power Services, Inc.