/// <inheritdoc cref="IIndentationStrategy.IndentLine"/>
        public override void IndentLine(TextArea textArea, DocumentLine line)
        {
            if (textArea == null)
            {
                throw new ArgumentNullException(nameof(textArea));
            }
            if (line == null)
            {
                throw new ArgumentNullException(nameof(line));
            }

            var    document          = textArea.Document;
            int    lineNr            = line.LineNumber;
            string indentationString = GetIndentationString(textArea);
            TextDocumentAccessor acc = new TextDocumentAccessor(document, lineNr, lineNr);

            Indent(acc, indentationString, false);

            string t = acc.Text;

            if (t.Length == 0)
            {
                // use AutoIndentation for new lines in comments / verbatim strings.
                base.IndentLine(textArea, line);
            }
        }
        /// <inheritdoc cref="IIndentationStrategy.IndentLine"/>
        public override void IndentLine(TextArea textArea, DocumentLine line)
        {
            if (textArea == null)
                throw new ArgumentNullException(nameof(textArea));
            if (line == null)
                throw new ArgumentNullException(nameof(line));

            var document = textArea.Document;
            int lineNr = line.LineNumber;
            string indentationString = GetIndentationString(textArea);
            TextDocumentAccessor acc = new TextDocumentAccessor(document, lineNr, lineNr);
            Indent(acc, indentationString, false);

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