I came across the above method which should make registering and even using
the library much easier. The only downside in my opinion is that now if
you need to use your own lexer, you also need to create a SyntaxKit
implementation. Mind you, it will be generally just one liner class with a
constructor that calls default SynatxKit with the proper lexer.
When that is done, you can actually use code like:
JEditor.setContentType("text/java")
I have an implementation that works fine, but needs some cleanup and a
clean way to register the various editor kits to the languages.
Any suggestions?
Original issue reported on code.google.com by ayman.al...@gmail.com on 18 Sep 2008 at 12:59
Original issue reported on code.google.com by
ayman.al...@gmail.com
on 18 Sep 2008 at 12:59