Table of Contents

Method FindBookMark

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

FindBookMark(int, int, int, string)

Locates the bookmark with specified index within the specified line in the specified document.

public IBookMark FindBookMark(int line, int group, int bookMark, string fileName)

Parameters

line int

The integer value that specifies an index of the text line in where to locate bookmark.

group int

Specifies bookmark group.

bookMark int

The integer value that specifies Index of the bookmark to find.

fileName string

File name of document containing bookmarks.

Returns

IBookMark

IBookMark object found.

FindBookMark(int, string)

Locates the bookmark with specified index in the specified document.

public IBookMark FindBookMark(int bookMark, string fileName)

Parameters

bookMark int

The integer value that specifies an index of the bookmark to find.

fileName string

File name of document containing bookmarks.

Returns

IBookMark

IBookmark object if the bookmarks was found; otherwise null.

FindBookMark(int, int, string)

Locates the bookmark within the specified line in the specified document.

public IBookMark FindBookMark(int line, int group, string fileName)

Parameters

line int

The integer value that specifies an index of the text line in where to locate bookmark.

group int

Specifies bookmark group.

fileName string

File name of document containing bookmarks.

Returns

IBookMark

IBookMark object found.

FindBookMark(string, string)

Locates the bookmark with specified Name in the specified document.

public IBookMark FindBookMark(string name, string fileName)

Parameters

name string

Name of the bookmark to find.

fileName string

File name of document containing bookmarks.

Returns

IBookMark

IBookmark object if the bookmarks was found; otherwise null.