public override void IndentLines(ITextEditor editor, int beginLine, int endLine)
        {
            DocumentAccessor          acc            = new DocumentAccessor(editor.Document, beginLine, endLine);
            CSharpIndentationStrategy indentStrategy = new CSharpIndentationStrategy();

            indentStrategy.IndentationString = GetIndentationString(editor);
            indentStrategy.Indent(acc, true);
        }
        public override void IndentLine(ITextEditor editor, IDocumentLine line)
        {
            int lineNr           = line.LineNumber;
            DocumentAccessor acc = new DocumentAccessor(editor.Document, lineNr, lineNr);

            CSharpIndentationStrategy indentStrategy = new CSharpIndentationStrategy();

            indentStrategy.IndentationString = GetIndentationString(editor);
            indentStrategy.Indent(acc, false);

            string t = acc.Text;

            if (t.Length == 0)
            {
                // use AutoIndentation for new lines in comments / verbatim strings.
                base.IndentLine(editor, line);
            }
        }