popup.add(new JMenuItem(CUT)).addActionListener(ClientInputHandler.CLIP_CUT);
popup.add(new JMenuItem(COPY)).addActionListener(ClientInputHandler.CLIP_COPY);
popup.add(new JMenuItem(PASTE)).addActionListener(ClientInputHandler.CLIP_PASTE);
if("XML".equals(mode))
{setTokenMarker(new XMLTokenMarker());}
final TextAreaPainter painter = getPainter();
final SyntaxStyle[] styles = painter.getStyles();
styles[Token.KEYWORD1] = new SyntaxStyle(new Color(0, 102, 153), false, true);
styles[Token.KEYWORD2] = new SyntaxStyle(new Color(0, 153, 102), false, true);
styles[Token.KEYWORD3] = new SyntaxStyle(new Color(0, 153, 255), false, true);