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