Table of Contents

Method GetBookMark

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

GetBookMark(int, int, string)

Finds the first bookmark in the collection appropriate specified conditions.

public int GetBookMark(int line, int group, string fileName)

Parameters

line int

IBookMark.Line to check.

group int

IBookMark.Group to check.

fileName string

IBookMark.FileName to check.

Returns

int

IBookMark.Index if the bookmark was found; otherwise -1.

GetBookMark(Point, Point, int, string)

Finds the first bookmark in the collection appropriate specified conditions.

public int GetBookMark(Point startPoint, Point endPoint, int group, string fileName)

Parameters

startPoint Point

The Point value that specifies start position to find.

endPoint Point

The Point value that specifies end position to find.

group int

IBookMark.Group to check.

fileName string

IBookMark.FileName to check.

Returns

int

IBookMark.Index if the bookmark was found; otherwise -1.