rsyntaxAreaEditJMenuItem = new JMenuItem("RSyntaxArea based programmer's editor - An alternative editor to jsyntaxPane");
rsyntaxAreaEditJMenuItem.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent e) {
GlobalValues.globalRSyntaxFrame = (new rsyntaxEditor("Untitled", true)).currentFrame;
scalaExec.Interpreter.GlobalValues.editorPane.setCaretPosition(0);
}
});
rsyntaxAreaEditJMenuItem.setToolTipText("Editor based on rsyntaxArea component, very stable editor, supports Scala code-completion");
rsyntaxAreaEditJMenuItem.setFont(new Font(GlobalValues.uiFontName, Font.BOLD, Integer.parseInt(GlobalValues.uiFontSize) ));