using System; using System.Collections.Generic; using Microsoft.VisualStudio.Text.Utilities; namespace Microsoft.VisualStudio.Text.Implementation { /// /// Information about the line breaks contained in an . /// public interface ILineBreaks { /// /// The number of line breaks in the . /// int Length { get; } /// /// The starting position of the th line break. /// int StartOfLineBreak(int index); /// /// The starting position of the th line break. /// int EndOfLineBreak(int index); } public interface ILineBreaksEditor : ILineBreaks { /// /// Add a line break at with /// void Add(int start, int length); } }