Lines Matching refs:end
14 this.end = 0;
20 return this.end - this.start;
24 return (!this.obj) ? '' : this.obj.value.substring(this.start,this.end);
42 sel.end = textArea.selectionEnd;
51 * start and end properties and pass it back to this function.
58 selection.obj.setSelectionRange(selection.start, selection.end);
70 * @param {int} opts.endofs number of characters at the end to skip from new selection
79 selection.obj.value.substring(selection.end, selection.obj.value.length);
84 selection.end = selection.start + text.replace(/\r?\n/g, '\r\n').length;
86 selection.end = selection.start + text.length;
92 if(opts.endofs) selection.end -= opts.endofs;
94 // no selection wanted? set cursor to end position
95 if(opts.nosel) selection.start = selection.end;
118 selection.end--;
130 // place cursor at the end