slaisne Posted January 5, 2007 Share Posted January 5, 2007 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 More sharing options...
Giulio Toffoli Posted January 5, 2007 Share Posted January 5, 2007 Thanks. Fixed. Giulio Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now