private void copy() { cEditor editor = cMainEditor.getDocActive(); if (editor != null) { editor.copy(); } }