Lines Matching refs:pos
131 pos: caretPos
169 getLine: function(textVal, pos){
170 return ((textVal.substring(0,pos)).split("\n")).length;
268 pos = utils.cursor.get(), variable
275 if( pos < (matchedFence+hacked) ){
285 if( (hacked) < pos && ( (matchedFence+hacked) > pos ) && matchCase%2===0){
297 var pos = utils.cursor.get(), variable
300 var left = val.substring(0, pos),
379 pos = utils.cursor.get(),
417 var left = val.substring(0, pos),
418 right = val.substring(pos),
422 if(val.substring(pos-tab.length, pos) == tab){
423 edited = val.substring(0, pos-tab.length) + right;
425 utils.cursor.set(pos-tab.length);
429 utils.cursor.set(pos + tab.length);
446 var pos = utils.cursor.get(), variable
448 left = val.substring(0, pos),
449 right = val.substring(pos),
476 utils.cursor.set(pos + finalCursorPos);
489 var pos = utils.cursor.get(), variable
491 left = val.substring(0, pos),
492 right = val.substring(pos),
500 var edited = val.substring(0,pos-1) + val.substring(pos+1);
502 utils.cursor.set(pos - 1);
506 var edited = val.substring(0,pos-1) + val.substring(pos);
508 utils.cursor.set(pos - 1);
513 utils.cursor.set(pos);
525 var pos = utils.cursor.get(),
527 left = val.substring(0, pos),
528 right = val.substring(pos),
532 utils.cursor.set(pos + 1);
536 var pos = utils.cursor.get(),
538 toOverwrite = val.substring(pos, pos + 1);