boardtc
asked on
lightweight text editor jar
I need to provide a very basic text editor in my swing app. I don't think a commercial app would be allowed to distribute JEdit is my understanding but anyway the distribution footprint is likely too large for my needs...
Rather than reinventing the wheel are there any freely available fine tuned lightweight editors available in a jar that I can use for this purpose?
Thanks,
Tom.
Rather than reinventing the wheel are there any freely available fine tuned lightweight editors available in a jar that I can use for this purpose?
Thanks,
Tom.
ASKER
Thanks but not what I am looking for, I would like freely available source, looking at the screenshot, http://anuj.ajad.googlepages.com/te.jpg, this is egoware, with the author's name in the titlebar
doesn't have the source code? if it has, change that!
ASKER
@objects - did you read my question :-)
i did but missed the mention of jedit :-D
ASKER
@objects, ok, i assume can jedit be used in lightweight mode then...i have not been able to find information about this and if I can distribute it with a commercial app...can you provide more information please, thanks.
ASKER
thanks,it reads well..i wonder since the site/code has not been update in going on 7 years but maybe that's a sign of it's quality if not popularity...will give it a spin and see....
ASKER
not sure how popular this is the code is unfortunately not even collected in a package.
though it is extremely lightweight the functionality is supports is still way overkill for my needs (for example it supports syntax highlighting for 10+ code file types). I guess what i was hoping for was a well used java class that encapsulated a simple text editor.....
though it is extremely lightweight the functionality is supports is still way overkill for my needs (for example it supports syntax highlighting for 10+ code file types). I guess what i was hoping for was a well used java class that encapsulated a simple text editor.....
what actual functionality do u need?
ASKER
basic editing &
- show line number
- highlight line
& ideal extensible enough to
- be able to color code some keywords (custom script file) in future
- show line number
- highlight line
& ideal extensible enough to
- be able to color code some keywords (custom script file) in future
i think you either implement it yourself (using JTextPane)
or take an existing editor (as a starting point) and cut it down to your needs
or take an existing editor (as a starting point) and cut it down to your needs
ASKER
>take an existing editor (as a starting point) and cut it down to your needs
that's what I was hoping to get from this post...i guess i was looking for something more current and user friendly than syntax.jedit....coming from the delphi community where there is so much free code i was thinking there might be someone out there who had a freely available one....
that's what I was hoping to get from this post...i guess i was looking for something more current and user friendly than syntax.jedit....coming from the delphi community where there is so much free code i was thinking there might be someone out there who had a freely available one....
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Was hoping for pointer to code which I known is out there somewhere.....
ASKER
just bumped into
C:\Program Files\Java\jdk1.6.0_03\dem o\plugin\j fc\Notepad \src\Notep ad.java
which helps
C:\Program Files\Java\jdk1.6.0_03\dem
which helps
http://www.download3k.com/System-Utilities/Text-Editors/Download-Text-Editor.html