コード例 #1
0
ファイル: TextModel.java プロジェクト: JoshCheek/limelight
 public TextLocation getSelectionEnd() {
   return caretLocation.before(selectionLocation) ? selectionLocation : caretLocation;
 }
コード例 #2
0
ファイル: TextModel.java プロジェクト: JoshCheek/limelight
 public TextLocation getSelectionStart() {
   return caretLocation.before(selectionLocation) ? caretLocation : selectionLocation;
 }