Table of Contents

Method GetTextAt

Namespace
Alternet.Editor.TextSource
Assembly
Alternet.Editor.v9.dll

GetTextAt(int, int)

Returns word at the specific text position.

public virtual string GetTextAt(int pos, int line)

Parameters

pos int

Specifies an index of the line.

line int

Specifies index of character in the text string.

Returns

string

Word found at the specified position.

GetTextAt(Point)

Returns word at the specific text position.

public virtual string GetTextAt(Point position)

Parameters

position Point

The Point value that specifies position in the text.

Returns

string

Word found at the specified position.