Browse Source

REPORT-60163 公式编辑器优化2.0

1.修改一下键入值
feature/x
Hoky 3 years ago
parent
commit
bcb8ad4693
  1. 4
      designer-base/src/main/java/com/fr/design/formula/FormulaPane.java

4
designer-base/src/main/java/com/fr/design/formula/FormulaPane.java

@ -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();
}
} }
}); });
} }

Loading…
Cancel
Save