Reset code template insert trigger fail
A syntax highlighting, code folding text component written in Swing
Brought to you by:
robert_futrell
I modify the example "Code Templates Example"(http://fifesoft.com/rsyntaxtextarea/examples/example2.php) to support the customized insert code template keystroke. I did this like the following code, but it didn't take any effect, "CTRL+SHIFT+SPACE" keystroke is still availabel.
CodeTemplateManager ctm = RSyntaxTextArea.getCodeTemplateManager();
//Replace the default keystroke "CTRL+SHIFIT_SPACE" with "ALT + SLASH"
ctm.setInsertTrigger(KeyStroke.getKeyStroke(KeyEvent.VK_SLASH,
InputEvent.ALT_DOWN_MASK));