Set sketch as modified when any character committed using input method support

This commit is contained in:
tyfkda
2016-08-02 09:06:47 +09:00
parent ce007f41be
commit 2f953e747c
4 changed files with 33 additions and 0 deletions

View File

@@ -334,6 +334,13 @@ public class JavaInputHandler extends PdeInputHandler {
}
@Override
public void onCommittedFromInputMethodSupport(char c) {
Sketch sketch = editor.getSketch();
sketch.setModified(true);
}
/**
* Return the index for the first character on this line.
*/