Skip to content

Commit 1e8864c

Browse files
committed
disabling input method support that's breaking the accents etc
1 parent dd39a5b commit 1e8864c

1 file changed

Lines changed: 9 additions & 13 deletions

File tree

app/src/processing/app/syntax/JEditTextArea.java

Lines changed: 9 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -73,15 +73,7 @@ public class JEditTextArea extends JComponent
7373
/** The size of the offset between the leftmost padding and the code */
7474
public static final int leftHandGutter = 6;
7575

76-
/**
77-
* Creates a new JEditTextArea with the default settings.
78-
*/
79-
/*
80-
public JEditTextArea()
81-
{
82-
this(TextAreaDefaults.getDefaults());
83-
}
84-
*/
76+
private InputMethodSupport inputMethodSupport = null;
8577

8678
/**
8779
* Creates a new JEditTextArea with the specified settings.
@@ -144,12 +136,16 @@ public void mouseWheelMoved(MouseWheelEvent e) {
144136
/**
145137
* Inline Input Method Support for Japanese.
146138
*/
147-
private InputMethodSupport inputMethodSupport = null;
148139
public InputMethodRequests getInputMethodRequests() {
149-
if (inputMethodSupport == null) {
150-
inputMethodSupport = new InputMethodSupport(this);
140+
// Temporarily disabling for now.
141+
// http://code.google.com/p/processing/issues/detail?id=335
142+
if (false) {
143+
if (inputMethodSupport == null) {
144+
inputMethodSupport = new InputMethodSupport(this);
145+
}
146+
return inputMethodSupport;
151147
}
152-
return inputMethodSupport;
148+
return null;
153149
}
154150

155151
/**

0 commit comments

Comments
 (0)