示例#1
0
 public boolean hasSelection() {
   return selectionActivated && !selectionLocation.equals(caretLocation);
 }