Class: MarkManager

MarkManager()

The mark manager used by a DocumentView.

Constructor

new MarkManager()

Source:

Members

dot

Return the text node view containing dot if any; null otherwise.
Source:

dotOffset

Return the character offset of dot if any; -1 otherwise.
Source:

dotOffset

Set the character offset of dot.
Source:

mark

Return the text node view containing mark if any; null otherwise.
Source:

markOffset

Return the character offset of mark if any; -1 otherwise.
Source:

selected

Return the selected node view dot if any; null otherwise.
Source:

selected2

Return the selected2 node view dot if any; null otherwise.
Source:

Methods

hasTextSelection()

Tests whether there is a text selection.
Source:

selectionContains()

Tests whether specified point is contained in text or node selection (if any).
Source: