Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / Tools / January 2005

Tip: Looking for answers? Try searching our database.

jEdit syntax package - tab key not working in 1.4/1.5, but does in 1.3

Thread view: 
jamesb21 - 27 Jan 2005 23:04 GMT
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.
Bill Tschumy - 28 Jan 2005 16:50 GMT
> 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.


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.