Method FindBookMark
- Namespace
- Alternet.Editor.TextSource
- Assembly
- Alternet.Editor.v10.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
lineintThe integer value that specifies an index of the text line in where to locate bookmark.
groupintSpecifies bookmark group.
bookMarkintThe integer value that specifies
Indexof the bookmark to find.fileNamestringFile name of document containing bookmarks.
Returns
- IBookMark
IBookMarkobject found.
FindBookMark(int, string)
Locates the bookmark with specified index in the specified document.
public IBookMark FindBookMark(int bookMark, string fileName)
Parameters
bookMarkintThe integer value that specifies an index of the bookmark to find.
fileNamestringFile 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
lineintThe integer value that specifies an index of the text line in where to locate bookmark.
groupintSpecifies bookmark group.
fileNamestringFile name of document containing bookmarks.
Returns
- IBookMark
IBookMarkobject found.
FindBookMark(string, string)
Locates the bookmark with specified Name in the specified document.
public IBookMark FindBookMark(string name, string fileName)
Parameters
namestringName of the bookmark to find.
fileNamestringFile name of document containing bookmarks.
Returns
- IBookMark
IBookmark object if the bookmarks was found; otherwise null.