private void InvokeInContext(Action <LineContext> action) { var context = GetLineContext(); action(context); do { CurrentLine.Invoke(context); }while (context.Skip); }