OESF Portables Forum

Everything Else => General Support and Discussion => Zaurus General Forums => Archived Forums => Software => Topic started by: cwaig on March 27, 2006, 06:28:44 am

Title: Announce: Simpleedit
Post by: cwaig on March 27, 2006, 06:28:44 am
First release of SimpleEdit just uploaded to My Webpage (http://88.96.49.152/~zaurus/) .
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.

[img]http://88.96.49.152/~zaurus/simple_edit_screenshot.png\" border=\"0\" class=\"linked-image\" /]

(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)
Title: Announce: Simpleedit
Post by: cwaig on March 27, 2006, 06:29:59 am
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.
Title: Announce: Simpleedit
Post by: Hrw on March 27, 2006, 06:39:27 am
source? I want to test it under OZ/OPIE
Title: Announce: Simpleedit
Post by: cwaig on March 27, 2006, 07:17:31 am
Quote
source? I want to test it under OZ/OPIE
[div align=\"right\"][a href=\"index.php?act=findpost&pid=120444\"][{POST_SNAPBACK}][/a][/div]

I'll get round to source (probably later in the week)......
Title: Announce: Simpleedit
Post by: iamasmith on March 27, 2006, 10:30:27 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
Title: Announce: Simpleedit
Post by: cwaig on March 27, 2006, 11:30:54 am
Quote
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
[div align=\"right\"][a href=\"index.php?act=findpost&pid=120470\"][{POST_SNAPBACK}][/a][/div]

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.
Title: Announce: Simpleedit
Post by: bam on March 27, 2006, 02:17:20 pm
nice job now I can dump yEdit
Title: Announce: Simpleedit
Post by: nilch on March 27, 2006, 02:22:06 pm
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...
Title: Announce: Simpleedit
Post by: bam on March 28, 2006, 12:12:34 am
and perl too would be nice...
Title: Announce: Simpleedit
Post by: cwaig on March 28, 2006, 04:30:49 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......
Title: Announce: Simpleedit
Post by: iamasmith on March 28, 2006, 04:41:03 am
Quote
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......
[div align=\"right\"][a href=\"index.php?act=findpost&pid=120653\"][{POST_SNAPBACK}][/a][/div]
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   - Closer and closer to a version of qscite every day.

-Andy
Title: Announce: Simpleedit
Post by: Raul on March 28, 2006, 04:52:32 am
Quote
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.
Title: Announce: Simpleedit
Post by: daniel3000 on March 29, 2006, 04:43:30 am
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
Title: Announce: Simpleedit
Post by: pgas on March 29, 2006, 05:54:06 am
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...
Title: Announce: Simpleedit
Post by: ShiroiKuma on March 29, 2006, 01:01:09 pm
Quote
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......
[div align=\"right\"][a href=\"index.php?act=findpost&pid=120653\"][{POST_SNAPBACK}][/a][/div]
Don't know if this is too much to ask, but could you recompile again and ad support for PHP?
Title: Announce: Simpleedit
Post by: bam on March 29, 2006, 03:06:33 pm
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"
Title: Announce: Simpleedit
Post by: cwaig on March 29, 2006, 07:18:55 pm
I'm a bit disillusioned with the Z today (well, a minority of the people involved - see this thread (https://www.oesf.org/forums/index.php?showtopic=18087)) 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.
Title: Announce: Simpleedit
Post by: iamasmith on March 30, 2006, 04:07:47 am
Quote
I'm a bit disillusioned with the Z today (well, a minority of the people involved - see this thread (https://www.oesf.org/forums/index.php?showtopic=18087)) 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.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=120959\"][{POST_SNAPBACK}][/a][/div]

I totally agree. That thread has been reported.

-Andy
Title: Announce: Simpleedit
Post by: nilch on March 31, 2006, 11:06:45 am
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.
Title: Announce: Simpleedit
Post by: bam on March 31, 2006, 04:06:21 pm
me as well, yEdit is gone, the only ones I am using are ZEditor, Visiscript and this one.
Title: Announce: Simpleedit
Post by: cwaig on April 03, 2006, 09:44:17 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.
Title: Announce: Simpleedit
Post by: Cresho on April 03, 2006, 11:22:19 pm
Quote
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.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=121689\"][{POST_SNAPBACK}][/a][/div]

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.
Title: Announce: Simpleedit
Post by: bam on April 04, 2006, 01:11:29 am
way cool, cant wait to install! thank you very much!
Title: Announce: Simpleedit
Post by: Hrw on April 04, 2006, 02:59:39 am
sources? This way OpenZaurus users will be able to try too...
Title: Announce: Simpleedit
Post by: Meanie on April 04, 2006, 06:24:14 am
Quote
Quote
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.
[div align=\"right\"][{POST_SNAPBACK}][/a][/div] (http://index.php?act=findpost&pid=121689\")

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.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=121696\"][{POST_SNAPBACK}][/a][/div]

the wiki changes the filename. try this copy:
[a href=\"http://zaurus.daemons.gr/menaie/feed/simple-edit_1.0.3_arm.ipk]http://zaurus.daemons.gr/menaie/feed/simpl...t_1.0.3_arm.ipk[/url]
I've archived all the packages that I like and use over there...
Title: Announce: Simpleedit
Post by: cwaig on April 04, 2006, 06:27:11 am
Quote
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.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=121696\"][{POST_SNAPBACK}][/a][/div]

Try downloading it from my website instead - the forum keeps renaming files...
Title: Announce: Simpleedit
Post by: cwaig on April 04, 2006, 06:28:35 am
Quote
sources? This way OpenZaurus users will be able to try too...
[div align=\"right\"][a href=\"index.php?act=findpost&pid=121714\"][{POST_SNAPBACK}][/a][/div]

Soon. I'm not being deliberately bad about the sources, simply haven't got round to it yet...
Title: Announce: Simpleedit
Post by: anonuk on April 04, 2006, 01:44:46 pm
great software,

any chance you could add the highlighting for ruby (and ruby on rails)?
Title: Announce: Simpleedit
Post by: Cresho on April 04, 2006, 01:58:09 pm
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  




--------------------
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!"
Title: Announce: Simpleedit
Post by: ShiroiKuma on April 13, 2006, 07:44:57 am
Quote
Soon. I'm not being deliberately bad about the sources, simply haven't got round to it yet...
[div align=\"right\"][a href=\"index.php?act=findpost&pid=121737\"][{POST_SNAPBACK}][/a][/div]
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.
Title: Announce: Simpleedit
Post by: cwaig on April 13, 2006, 11:41:25 am
Quote
Quote
Soon. I'm not being deliberately bad about the sources, simply haven't got round to it yet...
[div align=\"right\"][a href=\"index.php?act=findpost&pid=121737\"][{POST_SNAPBACK}][/a][/div]
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.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=122989\"][{POST_SNAPBACK}][/a][/div]

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....
Title: Announce: Simpleedit
Post by: bam on April 13, 2006, 08:45:06 pm
actually I would like it to be able to 'see' hidden files
Title: Announce: Simpleedit
Post by: cwaig on April 14, 2006, 06:41:29 am
Quote
actually I would like it to be able to 'see' hidden files
[div align=\"right\"][a href=\"index.php?act=findpost&pid=123122\"][{POST_SNAPBACK}][/a][/div]

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

Laters,
Craig
Title: Announce: Simpleedit
Post by: bam on April 14, 2006, 04:44:00 pm
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.
Title: Announce: Simpleedit
Post by: bam on April 15, 2006, 11:33:50 pm
slightly off-topic, I see you also coded clipboard applet, any chance in getting multiple clipboards, say selectable from 1 to 5 or so?
Title: Announce: Simpleedit
Post by: BerndS on April 25, 2006, 02:10:10 am
Quote
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......
[div align=\"right\"][a href=\"index.php?act=findpost&pid=120653\"][{POST_SNAPBACK}][/a][/div]

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
Title: Announce: Simpleedit
Post by: Raul on April 28, 2006, 02:32:53 pm
Quote
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
Title: Announce: Simpleedit
Post by: Cresho on May 30, 2006, 04:44:22 am
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
Title: Announce: Simpleedit
Post by: bam on June 14, 2006, 01:33:52 am
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)
Title: Announce: Simpleedit
Post by: Sy Ali on June 19, 2006, 05:24:14 am
The "home page" listed in the first post is http://88.96.49.152/~zaurus/ (http://88.96.49.152/~zaurus/) which is not working.  Is there a proper home page?
Title: Announce: Simpleedit
Post by: Snappy on June 21, 2006, 09:12:32 am
Quote
Quote
Soon. I'm not being deliberately bad about the sources, simply haven't got round to it yet...
[div align=\"right\"][a href=\"index.php?act=findpost&pid=121737\"][{POST_SNAPBACK}][/a][/div]
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.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=122989\"][{POST_SNAPBACK}][/a][/div]

ok, let me rephrase that...

Three new feature candidates for future releases ...

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.  Looking forward to that!
Title: Announce: Simpleedit
Post by: Snappy on June 21, 2006, 09:16:30 am
Quote
The "home page" listed in the first post is http://88.96.49.152/~zaurus/ (http://88.96.49.152/~zaurus/) which is not working.  Is there a proper home page?
[div align=\"right\"][{POST_SNAPBACK}][/a][/div] (http://index.php?act=findpost&pid=131805\")

You can get 1.0.3 from Meanie's site ... [a href=\"http://zaurus.daemons.gr/menaie/feed/]http://zaurus.daemons.gr/menaie/feed/[/url]
Title: Announce: Simpleedit
Post by: Sy Ali on June 21, 2006, 11:51:47 am
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.  

Is it possible to have the colouration and highlighting be separate modules somehow?  Then I could add support myself.
Title: Announce: Simpleedit
Post by: amatos on July 10, 2006, 10:29:37 pm
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.
Title: Announce: Simpleedit
Post by: bam on August 20, 2006, 08:31:16 pm
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)
Title: Announce: Simpleedit
Post by: Retief on January 13, 2007, 11:36:54 pm
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    .  Any idea how to resolve that?  Thanks.
Title: Announce: Simpleedit
Post by: Retief on January 14, 2007, 09:02:42 pm
Never mind.  Reinstalled and tied to it an app button.  Now I'm seeing the icon.