Table of Contents

Method GetSearchSelectionForLine

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

GetSearchSelectionForLine(int, out int, out int)

Sets left and right parameter to the first and last selected characters within specified line, when edit control is in search selection mode.

public virtual bool GetSearchSelectionForLine(int index, out int left, out int right)

Parameters

index int

Index of line within Edit control content.

left int

Receives index of the first selected character.

right int

Receives index of the last selected character.

Returns

bool

True if succeed; otherwise false.