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