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