示例#1
0
 /**
  * Returns the current editor.
  *
  * @return editor
  */
 public EditorArea getEditor() {
   final Component c = tabs.getSelectedComponent();
   return c instanceof EditorArea ? (EditorArea) c : null;
 }