Method GetBookMark
- Namespace
- Alternet.Editor.TextSource
- Assembly
- Alternet.Editor.v10.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
lineintIndex of the text line.
groupintBookMarkGroup.fileNamestringFile 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
startPointPointThe Point value that specifies start position to search.
endPointPointThe Point value that specifies end position to search.
groupintBookMarkGroup.fileNamestringFile name of document containing bookmarks.
Returns
- int
Index of the found bookmark.