Thank you! It works like a charm! :)
Type: Posts; User: sci4me
Thank you! It works like a charm! :)
oh its just length-4? or am i horribly confused?
Alright so just line.length()... okay. Now... it doesnt crash but the syntax highlighting still isnt working properly.. ugh.
... if you use that class i posted as a document in a jtextpane, theres your sscce. just put a few keywords in the keywords arraylist since you dont have the other code... and there ya go. and yes i...
I use eclipse.
... uh... well since i havent touched that class at all... uh... i have no idea what that is being caused by...
Hey guys. So, I am just trying to make some simple syntax highlighting WITHOUT my library. I am using a document:
public class S80Document extends DefaultStyledDocument
{
private static final...