Table of Contents

Method GetLineStyle

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

GetLineStyle(int)

Finds the first element in the line style collection located at the specified text line.

public virtual int GetLineStyle(int index)

Parameters

index int

Index of the text line.

Returns

int

Index of the found line style if the search succeed; otherwise -1.

GetLineStyle(int, int)

Finds specific linestyle in the line style collection located at the specified text line.

public virtual ILineStyle GetLineStyle(int line, int style)

Parameters

line int

Index of the text line.

style int

Index of the line style.

Returns

ILineStyle

The found line style if the search succeed; otherwise null.