pascalabcnet/ICSharpCode.TextEditorLinux/Src/Document/ISegment.cs

33 lines
613 B
C#
Raw Normal View History

// <file>
// <copyright see="prj:///doc/copyright.txt"/>
// <license see="prj:///doc/license.txt"/>
// <owner name="Mike Krüger" email="mike@icsharpcode.net"/>
// <version>$Revision: 1966 $</version>
// </file>
namespace ICSharpCode.TextEditor.Document
{
/// <summary>
/// This interface is used to describe a span inside a text sequence
/// </summary>
public interface ISegment
{
/// <value>
/// The offset where the span begins
/// </value>
int Offset {
get;
set;
}
/// <value>
/// The length of the span
/// </value>
int Length {
get;
set;
}
}
}