boolean () { if(carets.isEmpty()) return false; if(blockSelection == null && carets.size() == 1) { CaretInfo caret = carets.get(0); return caret.position != null || caret.selection != null; } return true; }