Jump to content
We've recently updated our Privacy Statement, available here ×

special characters in JEditTextArea under MacOsX


slaisne

Recommended Posts

It's impossible to enter special characters, such as '{' or '}', in JEditTextArea.

The problem is in org.syntax.jedit.DefaultInputHandler class, line 250.

 

if(c != KeyEvent.CHAR_UNDEFINED && (modifiers & KeyEvent.ALT_MASK) == 0)

{

...

}

 

By modify the test as follow, JEditTextArea work fine.

 

if(c != KeyEvent.CHAR_UNDEFINED)

{

...

}

Link to comment
Share on other sites

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...