void () { if (!shouldSelectAll()) { if (mySelectedRange != null) { VariableInplaceRenamer.restoreSelection(myEditor, mySelectedRange.getTextRange()); } else { myEditor.getSelectionModel().removeSelection(); } } }