Hi.
I am writing a editor for the sculptor language that i use at work, and im using the jEdit syntax package to perform the syntax highlighting.
The only issue i have with it is that the tab key does not respond to any input. Pressing tab will result in the text area losing focus. This occurs using any JDK above 1.3.
Does anyone else have this same problem? Im assuming the problem is being caused by a change in the key handling of swing components in newer JDK's.
Any help/guidance will be most appreciated.
Regards
James.
> Hi.
> I am writing a editor for the sculptor language that i use at work, and im
[quoted text clipped - 12 lines]
>
> James.
Not sure this is much help, but I'm also using the syntax package in a
project and do not see the problem you're having.
I grabbed the syntax package a couple of years ago and have not updated
since, so possibly something has changed. It is also possible that I made
some code changes to the package that would have fixed this, but my quick
scan of the code didn't show any.

Signature
Bill Tschumy
Otherwise -- Austin, TX
http://www.otherwise.com
jamesb21 - 28 Jan 2005 19:44 GMT
i think its more to do with the differences in the JDK if anything.
like i pointed out, it will tab normally in 1.3, but the same code run using 1.4/1.5 results in the JEditTextArea losing focus.
Bill Tschumy - 28 Jan 2005 22:31 GMT
> i think its more to do with the differences in the JDK if anything.
>
> like i pointed out, it will tab normally in 1.3, but the same code run using
> 1.4/1.5 results in the JEditTextArea losing focus.
Yes, I understand. It works fine for me in 1.4 and 1.5

Signature
Bill Tschumy
Otherwise -- Austin, TX
http://www.otherwise.com
jamesb21 - 30 Jan 2005 20:07 GMT
apologies to all, it does work using 1.4 and 1.5!
i was simply using the jEdit syntax package version 2.2.1.
i downloaded version 2.2.2 and it works fine.
i haven't looked at the code to see what the difference between versions is, but now that it works im quite happy!
sorry for leading people on a wild goose chase! hopefully i will learn for next time!
thanks, james.