Stuck? Need help? Ask questions on our forums.

Com.Ostermiller.Syntax Syntax Highlighting Package

Com.Ostermiller.Syntax Syntax Highlighting Package

Submitted By: deadsea
Rating: starstarstar (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

No Image

Details

File Name:
syntax.jar
Product homepage:
Order page:
Languages:
Java
Platforms:
Unknown
Release date:
1/1/1900
License:
Unknown
Size:
350 KB
Price/Fee (US$):
Unknown
Number of downloads:
1590

Comments (4)

maybe lack of HOWTO? starstarstar   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 starstarstar   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

(Not published)
star
starstar
starstarstar
starstarstarstar
starstarstarstarstar

corner
© 1996-2008 CommunityHeaven LLC. All rights reserved. Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
North American business development: Nicolai Wadstrom. Publisher: Lars Hagelin.