private SimpleStringRebuilder(ITextStorage storage)
     : base(storage.Length, storage.LineBreaks.Length, 0)
 {
     _storage = storage;
     if (this.Length > 0)
     {
         _startsWithNewLine = storage.IsNewLine(_textSpanStart);
         _endsWithReturn    = storage.IsReturn(this.TextSpanEnd - 1);
     }
 }
        private SimpleStringRebuilder(ITextStorage storage, int textSpanStart, int length, int lineBreakSpanStart, int lineBreakCount)
            : base(length, lineBreakCount, 0)
        {
            _storage            = storage;
            _textSpanStart      = textSpanStart;
            _lineBreakSpanStart = lineBreakSpanStart;

            if (this.Length > 0)
            {
                _startsWithNewLine = _storage.IsNewLine(_textSpanStart);
                _endsWithReturn    = _storage.IsReturn(this.TextSpanEnd - 1);
            }
        }