Lines Matching refs:pos
890 setCaretPos = function (node, pos) { argument
898 textRange.moveEnd('character', pos);
899 textRange.moveStart('character', pos);
904 node.setSelectionRange(pos, pos);
1073 pos,
1077 pos = getCaretPos(this);
1080 if ((key === BACKSPACE || key === DEL) && pos) {
1081 pos -= 1;
1085 … while (/[^0-9_]/.test(options.mask.substr(pos, 1)) && pos < options.mask.length && pos > 0) {
1086 pos += (key === BACKSPACE || key === DEL) ? -1 : 1;
1089 val = val.substr(0, pos) + digit + val.substr(pos + 1);
1093 if (pos === options.mask.length) {
1099 pos += (key === BACKSPACE || key === DEL) ? 0 : 1;
1100 … while (/[^0-9_]/.test(options.mask.substr(pos, 1)) && pos < options.mask.length && pos > 0) {
1101 pos += (key === BACKSPACE || key === DEL) ? -1 : 1;
1106 setCaretPos(this, pos);