- Source:
Methods
-
<inner> extract(rootElem) → {Array.<Boundary>}
-
Set the selection based on selection markers found in the content inside of `rootElem`.
Parameters:
Name Type Description rootElem
Element - Source:
Returns:
- Type
- Array.<Boundary>
-
<inner> hint(selection) → {string}
-
Returns string representation of the given boundary boundaries tuple or range.
Parameters:
Name Type Description selection
Boundary | Array.<Boundary> | Range - Source:
Returns:
- Type
- string
-
<inner> insert(start, end) → {Array.<Boundary>}
-
Insert boundary markers at the given boundaries.
Parameters:
Name Type Description start
Boundary end
Boundary - Source:
Returns:
- Type
- Array.<Boundary>
-
<inner> insertSingle(boundary) → {Boundary}
-
Insert a single boundary marker at the given boundary.
Parameters:
Name Type Description boundary
Boundary - Source:
Returns:
- Type
- Boundary