Lines Matching defs:selectionEnd
96 * <code>selectionEnd</code>
103 int selectionEnd;
214 selectionEnd = peer.getSelectionEnd();
372 * between selectionStart and selectionEnd.
387 selectionEnd = peer.getSelectionEnd();
389 return selectionEnd;
397 * If the caller supplies a value for <code>selectionEnd</code>
400 * @param selectionEnd the end position of the
406 public synchronized void setSelectionEnd(int selectionEnd) {
408 * between selectionStart and selectionEnd.
410 select(getSelectionStart(), selectionEnd);
438 * @param selectionEnd the zero-based end position of the
440 <code>selectionEnd</code> is not selected
445 public synchronized void select(int selectionStart, int selectionEnd) {
453 if (selectionEnd > text.length()) {
454 selectionEnd = text.length();
456 if (selectionEnd < selectionStart) {
457 selectionEnd = selectionStart;
461 this.selectionEnd = selectionEnd;
465 peer.select(selectionStart, selectionEnd);
475 this.selectionEnd = getText().length();
479 peer.select(selectionStart, selectionEnd);
767 // selectionStart, selectionEnd, and text aren't necessarily
773 selectionEnd = peer.getSelectionEnd();
802 // selectionStart and selectionEnd has legal values
804 select(selectionStart, selectionEnd);