*/
Com.Ostermiller.Syntax Syntax Highlighting Package
Submitted By:
deadsea
Rating:





(
Rate It)
Java libraries for coloring programming source code to HTML or
in a text editor.
File Details
NOTE: Some downloads must be obtained through publishers´s site.
Do you want to get your software listed on this site? Go to our
submissions area.
Screenshot
Details
Number of downloads:
1587
Comments (4)
maybe lack of HOWTO?




Posted by: pafinde on Saturday, May 01, 2004
if you would like to highlight Java, C/C++, HTML, LaTeX, SQL or Java properties this package is great.
"More can be added with relative ease" - but i didn't found how!
lack of howto
(Not rated)
Posted by: pafinde on Saturday, May 01, 2004
to be honest, maybe lack of manual concerns jFlex...
Deadlocks




Posted by: Steffen on Wednesday, August 03, 2005
Hello,
I am very proud that I found this project, as I tried to create such a project by my own but without success. The ProgrammerEditorDemo works well, but there seems to be a problem:
If one is pressing a lot of keys in a rapid frequence, a deadlock appears. I was not able to find the reason (using java 1.4.2 and java 1.5 under Debian Linux).
how to avoid deadlock
(Not rated)
Posted by: pafinde on Sunday, February 19, 2006
To avoid deadlock, you have to synchronize Colorer thread with thread processing AWT events. I did it using own JTextPane subclass (see http://graphil.sourceforge.net/):
public class MyTextPane extends JTextPane {
TextEditorExp edit;
public void processEvent(AWTEvent e){
synchronized(edit.doclock){
super.processEvent(e);
}
}
}
Add Your Rating