Lines Matching refs:opts
69 * @param {int} opts.startofs number of charcters at the start to skip from new selection
70 * @param {int} opts.endofs number of characters at the end to skip from new selection
71 * @param {boolean} opts.nosel set true if new text should not be selected
73 function pasteText(selection,text,opts){
74 if(!opts) opts = {};
91 if(opts.startofs) selection.start += opts.startofs;
92 if(opts.endofs) selection.end -= opts.endofs;
95 if(opts.nosel) selection.start = selection.end;
114 var opts;
125 opts = {
131 opts = {
140 pasteText(selection,text,opts);