first set the focus on the RSyntaxTextArea/TextEditorPane window.
I forced this to happen in my own application by overriding the conveniently provided
configurePopupMenu method (see below) but thought you might want to consider
doing this explicitly in the base code.
java code:
class ScriptTextEditorPane extends TextEditorPane {
@Override
protected void configurePopupMenu(JPopupMenu arg) {
super.configurePopupMenu(arg);
// Set the focus so that the folding menu options
// always take effect.
this.requestFocusInWindow();
}
}
Keep up the great work!
Tom K.
