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
intIndex of the text line.
group
intBookMark
Group.fileName
stringFile 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
PointThe Point value that specifies start position to search.
endPoint
PointThe Point value that specifies end position to search.
group
intBookMark
Group.fileName
stringFile name of document containing bookmarks.
Returns
- int
Index of the found bookmark.