public bool Vi_BracketStart(char bra, char ket, int count) { int position = _iterator.Position; bool failByQuotes; bool result = BracketStart(bra, ket, count, out failByQuotes); if (failByQuotes) { _iterator = _lines.GetCharIterator(position); while (_iterator.MoveLeft()) { char c = _iterator.RightChar; if ((c == '"' || c == '\'') && _iterator.LeftChar != '\'') { if (_iterator.MoveLeft()) { result = BracketStart(bra, ket, count, out failByQuotes); } break; } } } return(result); }
public Moves(LineArray lines, int position) { _lines = lines; _iterator = lines.GetCharIterator(position); }