Table of Contents

Method GetSelectionForLine

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

GetSelectionForLine(int, out int, out int)

When implemented by a class, sets left and right parameter to the first and last selected characters within specified line.

bool GetSelectionForLine(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.