mirror of
https://github.com/processing/processing4.git
synced 2026-02-03 21:59:20 +01:00
move input method callback since it's broadly applicable
This commit is contained in:
@@ -40,7 +40,6 @@ import java.util.Arrays;
|
||||
* continuing to hack this class.
|
||||
*/
|
||||
public class JavaInputHandler extends PdeInputHandler {
|
||||
private Editor editor;
|
||||
|
||||
/** ctrl-alt on windows and linux, cmd-alt on mac os x */
|
||||
static final int CTRL_ALT = ActionEvent.ALT_MASK |
|
||||
@@ -48,7 +47,7 @@ public class JavaInputHandler extends PdeInputHandler {
|
||||
|
||||
|
||||
public JavaInputHandler(Editor editor) {
|
||||
this.editor = editor;
|
||||
super(editor);
|
||||
}
|
||||
|
||||
|
||||
@@ -334,12 +333,6 @@ public class JavaInputHandler extends PdeInputHandler {
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public void handleInputMethodCommit() {
|
||||
editor.getSketch().setModified(true);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Return the index for the first character on this line.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user