Adds a text marker to the current edit session.
The range to mark in the document
The CSS class name to apply to the marked text
Optional
The type of marker (e.g. "invisible" for whitespace rendering)
The unique identifier for the added text marker
Retrieves the text markers associated with the current edit session.
An array of text markers, or an empty array if no markers exist
Removes a text marker from the current edit session.
The unique identifier of the text marker to remove
Adds a text marker to the current edit session.