Method ToggleBookMark
- Namespace
 - Alternet.Editor.TextSource
 
- Assembly
 - Alternet.Editor.v10.dll
 
ToggleBookMark(int, int)
Sets or removes bookmark with specified index at the specified line.
public virtual void ToggleBookMark(int line, int bookMark)
Parameters
lineintIndex of line where to toggle bookmark.
bookMarkintThe integer value that specifies an index of the bookmark to toggle.
ToggleBookMark(Point, int)
Sets or removes bookmark with specified index at the specified line.
public virtual void ToggleBookMark(Point position, int bookMark)
Parameters
positionPointThe Point value that specifies position of the bookmark (index of char and current line).
bookMarkintThe integer value specifying index of the bookmark to toggle.
ToggleBookMark(IBookMark)
Sets or removes bookmark specified by bookMark parameter.
public virtual void ToggleBookMark(IBookMark bookMark)
Parameters
bookMarkIBookMarkSpecifies bookmark to toggle.
ToggleBookMark(Point, int, string, string, string)
Sets or removes bookmark with specified index at the specified line.
public virtual void ToggleBookMark(Point position, int bookMark, string name, string description, string url)
Parameters
positionPointThe Point value that specifies position of the bookmark (index of char and current line).
bookMarkintThe integer value that specifies an index of the bookmark to toggle.
namestringThe string value that specifies name of the bookmark to toggle.
descriptionstringThe string value that specifies description of the bookmark to toggle.
urlstringThe string value that specifies url of the bookmark to toggle.
ToggleBookMark(Point, int, string, string, string, int, string, object)
Sets or removes bookmark with specified index at the specified line.
public virtual void ToggleBookMark(Point position, int bookMark, string name, string description, string url, int imageIndex, string fileName, object tag)
Parameters
positionPointThe Point value that specifies position of the bookmark (index of char and current line).
bookMarkintThe integer value that specifies an index of the bookmark to toggle.
namestringThe string value that specifies name of the bookmark to toggle.
descriptionstringThe string value that specifies description of the bookmark to toggle.
urlstringThe string value that specifies url of the bookmark to toggle.
imageIndexintSpecifies
ImageIndexproperty of the bookmark to toggle.fileNamestringSpecifies
FileNameproperty of the bookmark to toggle.tagobjectSpecifies
Tagproperty of the bookmark to toggle.
ToggleBookMark(int)
Sets or removes bookmark with specified index at the current line.
public virtual void ToggleBookMark(int bookMark)
Parameters
bookMarkintThe integer value that specifies an index of the bookmark to toggle.
ToggleBookMark()
Sets or removes an unnumbered bookmark on the current line.
public virtual void ToggleBookMark()
ToggleBookMark(Point, int, int, int, string, string, string, object)
Sets or removes bookmark with specified parameters.
public virtual void ToggleBookMark(Point position, int group, int bookMark, int imageIndex, string name, string description, string url, object tag)
Parameters
positionPointThe Point value that specifies position of the bookmark (index of char and current line).
groupintThe integer value that specifies group associated with
BookMarkto toggle.bookMarkintThe integer value that specifies an index of the bookmark to toggle.
imageIndexintSpecifies
ImageIndexproperty of the bookmark to toggle.namestringThe string value that specifies name of the bookmark to toggle.
descriptionstringThe string value that specifies description of the bookmark to toggle.
urlstringThe string value that specifies url of the bookmark to toggle.
tagobjectSpecifies
Tagproperty of the bookmark to toggle.
ToggleBookMark(int, int, int, int)
Sets or removes bookmark with specified parameters.
public virtual void ToggleBookMark(int line, int group, int bookMark, int imageIndex)
Parameters
lineintSpecifies line of the bookmark to toggle.
groupintThe integer value that specifies group associated with
BookMarkto toggle.bookMarkintThe integer value that specifies an index of the bookmark to toggle.
imageIndexintSpecifies
ImageIndexproperty of the bookmark to toggle.
ToggleBookMark(Point, int, int, int)
Sets or removes bookmark with specified parameters.
public virtual void ToggleBookMark(Point position, int group, int bookMark, int imageIndex)
Parameters
positionPointThe Point value that specifies position of the bookmark (index of char and current line).
groupintThe integer value that specifies group associated with
BookMarkto toggle.bookMarkintThe integer value that specifies an index of the bookmark to toggle.
imageIndexintSpecifies
ImageIndexproperty of the bookmark to toggle.
ToggleBookMark(Point, int, int, int, string, string, string)
Sets or removes bookmark with specified parameters.
public virtual void ToggleBookMark(Point position, int group, int bookMark, int imageIndex, string name, string description, string url)
Parameters
positionPointThe Point value that specifies position of the bookmark (index of char and current line).
groupintThe integer value that specifies group associated with
BookMarkto toggle.bookMarkintThe integer value that specifies an index of the bookmark to toggle.
imageIndexintSpecifies
ImageIndexproperty of the bookmark to toggle.namestringThe string value that specifies name of the bookmark to toggle.
descriptionstringThe string value that specifies description of the bookmark to toggle.
urlstringThe string value that specifies url of the bookmark to toggle.
ToggleBookMark(int, int, int)
Sets or removes bookmark with specified parameters.
public virtual void ToggleBookMark(int group, int bookMark, int imageIndex)