TextMarker class
An object that represents a marker.
- Inheritance
-
- Object
- ProxyHolder
- TextMarker
Constructors
- TextMarker(JsObject? jsProxy)
Properties
Methods
-
call(
String methodName) → dynamic -
inherited
-
callArg(
String methodName, dynamic arg) → dynamic -
inherited
-
callArgs(
String methodName, List args) → dynamic -
inherited
-
changed(
) → void - Call if you've done something that might change the size of the marker (for example changing the content of a replacedWith node), and want to cheaply update the display.
-
clear(
) → void - Removes the mark.
-
dispose(
) → void -
This method should be called if any events listeners were added to the
object.
inherited
-
find(
) → List< Position> ? -
Returns a {from, to} object (both holding document positions), indicating
the current position of the marked range, or
null
if the marker is no longer in the document. For a bookmark, this list will be length 1. -
findStart(
) → Position? - Return the first (or only) position in this marker / bookmark.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
onEvent<
T> (String eventName, {int argCount = 1}) → Stream< T?> -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited