// Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt) // This code is distributed under MIT license (for details please see \doc\license.txt) using System; namespace ICSharpCode.Editor { /// /// A line inside a . /// public interface IDocumentLine : ISegment { /// /// Gets the length of this line, including the line delimiter. /// int TotalLength { get; } /// /// Gets the length of the line terminator. /// Returns 1 or 2; or 0 at the end of the document. /// int DelimiterLength { get; } /// /// Gets the number of this line. /// The first line has the number 1. /// int LineNumber { get; } } }