public int FindNonEditPositionInRange(int startPosition, int endPosition, bool direction) { CharType literalCharFlags = CharType.Literal | CharType.Separator; return FindPositionInRange(startPosition, endPosition, direction, literalCharFlags); }