(posObj)
| 1292 | } |
| 1293 | function isValid(pos, c, strict, fromSetValid, fromAlternate, validateOnly) { |
| 1294 | function isSelection(posObj) { |
| 1295 | return isRTL ? posObj.begin - posObj.end > 1 || posObj.begin - posObj.end === 1 : posObj.end - posObj.begin > 1 || posObj.end - posObj.begin === 1; |
| 1296 | } |
| 1297 | strict = strict === true; |
| 1298 | var maskPos = pos; |
| 1299 | if (pos.begin !== undefined) { |