|
|
@ -172,7 +172,6 @@ public class FormulaPane extends BasicPane implements KeyListener, UIFormula { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
private boolean inKeyCodeRange(KeyEvent e) { |
|
|
|
private boolean inKeyCodeRange(KeyEvent e) { |
|
|
|
//|| e.getExtendedKeyCode() ==
|
|
|
|
|
|
|
|
return (e.getExtendedKeyCode() > KEY_CODE_A && e.getExtendedKeyCode() < KEY_CODE_Z); |
|
|
|
return (e.getExtendedKeyCode() > KEY_CODE_A && e.getExtendedKeyCode() < KEY_CODE_Z); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
@ -188,9 +187,6 @@ public class FormulaPane extends BasicPane implements KeyListener, UIFormula { |
|
|
|
insertPosition = 0; |
|
|
|
insertPosition = 0; |
|
|
|
formulaTextArea.setText(text); |
|
|
|
formulaTextArea.setText(text); |
|
|
|
} |
|
|
|
} |
|
|
|
if (e.getExtendedKeyCode() == KEY_CODE_$) { |
|
|
|
|
|
|
|
autoCompletion.doCompletion(); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
}); |
|
|
|
}); |
|
|
|
} |
|
|
|
} |
|
|
|