Method ToggleBookMark
- Namespace
- Alternet.Editor.TextSource
- Assembly
- Alternet.Editor.v9.dll
ToggleBookMark(int, int)
Sets or removes bookmark with specified index at the specified line.
public virtual void ToggleBookMark(int line, int bookMark)
Parameters
line
intIndex of line where to toggle bookmark.
bookMark
intThe 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
position
PointThe Point value that specifies position of the bookmark (index of char and current line).
bookMark
intThe 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
bookMark
IBookMarkSpecifies 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
position
PointThe Point value that specifies position of the bookmark (index of char and current line).
bookMark
intThe integer value that specifies an index of the bookmark to toggle.
name
stringThe string value that specifies name of the bookmark to toggle.
description
stringThe string value that specifies description of the bookmark to toggle.
url
stringThe 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
position
PointThe Point value that specifies position of the bookmark (index of char and current line).
bookMark
intThe integer value that specifies an index of the bookmark to toggle.
name
stringThe string value that specifies name of the bookmark to toggle.
description
stringThe string value that specifies description of the bookmark to toggle.
url
stringThe string value that specifies url of the bookmark to toggle.
imageIndex
intSpecifies
ImageIndex
property of the bookmark to toggle.fileName
stringSpecifies
FileName
property of the bookmark to toggle.tag
objectSpecifies
Tag
property 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
bookMark
intThe 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
position
PointThe Point value that specifies position of the bookmark (index of char and current line).
group
intThe integer value that specifies group associated with
BookMark
to toggle.bookMark
intThe integer value that specifies an index of the bookmark to toggle.
imageIndex
intSpecifies
ImageIndex
property of the bookmark to toggle.name
stringThe string value that specifies name of the bookmark to toggle.
description
stringThe string value that specifies description of the bookmark to toggle.
url
stringThe string value that specifies url of the bookmark to toggle.
tag
objectSpecifies
Tag
property 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
line
intSpecifies line of the bookmark to toggle.
group
intThe integer value that specifies group associated with
BookMark
to toggle.bookMark
intThe integer value that specifies an index of the bookmark to toggle.
imageIndex
intSpecifies
ImageIndex
property 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
position
PointThe Point value that specifies position of the bookmark (index of char and current line).
group
intThe integer value that specifies group associated with
BookMark
to toggle.bookMark
intThe integer value that specifies an index of the bookmark to toggle.
imageIndex
intSpecifies
ImageIndex
property 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
position
PointThe Point value that specifies position of the bookmark (index of char and current line).
group
intThe integer value that specifies group associated with
BookMark
to toggle.bookMark
intThe integer value that specifies an index of the bookmark to toggle.
imageIndex
intSpecifies
ImageIndex
property of the bookmark to toggle.name
stringThe string value that specifies name of the bookmark to toggle.
description
stringThe string value that specifies description of the bookmark to toggle.
url
stringThe 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)