private void PutCaretOnLine(IBraceCompletionSession session, SourceText text, TextLine line) { var indentation = GetDesiredIndentation(session, text); session.TryMoveCaret(line.Start + indentation); }