Hallo,
I am using the RSyntaxTextArea + code completion. The application is used to execute HQL statements.
The code completion works fine. For executing statements I use an ActionListener which listens on CTRL+RETURN.
But when I press CTRL+RETURN the code completion always tries to complete the current text.
Example:
from KiCOHeader;
cursor is after Ki an I press CTRL+RETURN, code completion always changes the statement to KiPhysicalStockCOHeader.
But code completion is registered to CTRL+' ':
AutoCompletion ac = new AutoCompletion(provider);
ac.setTriggerKey(KeyStroke.getKeyStroke(' ', InputEvent.CTRL_DOWN_MASK));
Can anybody please explain how the auto completion for CTRL+RETURN can be disabled?
bye, Georg
