예제 #1
0
 public TextLocation getSelectionEnd() {
   return caretLocation.before(selectionLocation) ? selectionLocation : caretLocation;
 }
예제 #2
0
 public TextLocation getSelectionStart() {
   return caretLocation.before(selectionLocation) ? caretLocation : selectionLocation;
 }