# _M.textadept.bookmarks

Bookmarks for Textadept.

- - -

## Fields

- - -

<a id="MARK_BOOKMARK_COLOR"></a>
### `MARK_BOOKMARK_COLOR` (number)

The color, in "0xBBGGRR" format, used for a bookmarked line.

- - -


## Functions

- - -

<a id="clear"></a>
### `clear`()

Clears all bookmarks in the current buffer.

- - -

<a id="goto_bookmark"></a>
### `goto_bookmark`()

Prompts the user to select a bookmarked line to go to.

- - -

<a id="goto_next"></a>
### `goto_next`()

Goes to the next bookmarked line in the current buffer.

- - -

<a id="goto_prev"></a>
### `goto_prev`()

Goes to the previous bookmarked line in the current buffer.

- - -

<a id="toggle"></a>
### `toggle`(*on*)

Toggles the bookmark on the current line unless *on* is given.
If *on* is `true` or `false`, adds or removes the bookmark, respectively.

Parameters:

* *`on`*: Optional flag indicating whether to add or remove a bookmark on the
  current line. The default value is `nil`, toggling a bookmark.

- - -


