void () { Editor editor = getEditor(); if (editor != null) { doSelect(editor, TextRange.create(0, editor.getDocument().getTextLength())); } else { deferredSelection = DeferredSelection.All.getInstance(); } }