Table of Contents

Class TextSegment

Namespace
Loehnert.Lisrt.Scripting.Editor
Assembly
Loehnert.Lisrt.Scripting.dll

Represents a segment in a text document.

public class TextSegment
Inheritance
TextSegment
Inherited Members

Constructors

TextSegment(int, int)

Initializes a new instance of the TextSegment class.

public TextSegment(int offset, int length)

Parameters

offset int

Offset of the segment.

length int

Length of the segment.

Properties

Length

Gets the length.

public virtual int Length { get; }

Property Value

int

Offset

Gets the offset.

public virtual int Offset { get; }

Property Value

int