Lines Matching refs:newPos
60240 …var newPos = base === end ? base - 2 : base - 1; // Malayalam / Tamil do not have "half" forms or …
60245 …while (newPos > start && !(glyphs[newPos].shaperInfo.category & (CATEGORIES.M | HALANT_OR_COENG_FL…
60246 newPos--;
60251 … if (isHalantOrCoeng(glyphs[newPos]) && glyphs[newPos].shaperInfo.position !== POSITIONS.Pre_M) {
60253 if (newPos + 1 < end && isJoiner(glyphs[newPos + 1])) {
60254 newPos++;
60257 newPos = start; // No move.
60261 if (start < newPos && glyphs[newPos].shaperInfo.position !== POSITIONS.Pre_M) {
60263 for (var _i19 = newPos; _i19 > start; _i19--) {
60266 if (oldPos < base && base <= newPos) {
60271 … glyphs.splice.apply(glyphs, [oldPos, 0].concat(glyphs.splice(oldPos + 1, newPos - oldPos)));
60272 glyphs[newPos] = tmp;
60273 newPos--;