Table of Contents

Method GetBookMark

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

GetBookMark(int, int, string)

Finds the first item in the bookmark collection located within the specified text line and associated with specified group in the specified document.

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

Parameters

line int

Index of the text line.

group int

BookMark Group.

fileName string

File name of document containing bookmarks.

Returns

int

Index of the found bookmark.

GetBookMark(Point, Point, int, string)

Finds the first item in the bookmark collection located within the specified scope and associated with specified group in the specified document.

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

Parameters

startPoint Point

The Point value that specifies start position to search.

endPoint Point

The Point value that specifies end position to search.

group int

BookMark Group.

fileName string

File name of document containing bookmarks.

Returns

int

Index of the found bookmark.