public virtual void SetLineInError(ParsingException ex) { currentTok = default(Token); if (ex.Line >= buffer.LineCount) { ex.Line = buffer.LineCount - 1; } if (buffer [ex.Line].IsFolded) { buffer.ToogleFolding(ex.Line); } buffer [ex.Line].SetLineInError(ex); }
public void SetLineInError(ParsingException ex) { Tokens = null; exception = ex; }
public CodeLine(string _content) { Content = _content; Tokens = null; exception = null; }
public override void SetLineInError(ParsingException ex) { base.SetLineInError(ex); //buffer[ex.Line].Tokens.EndingState = (int)States.init; }