Skip to content

Doc.findMarks method

Doc › findMarks

Unofficial

Returns an array of all the bookmarks and marked ranges found between the given positions.

Signature:

findMarks(from: Position, to: Position): TextMarker[]

Parameters:

Parameter Type Description
from Position The start position.
to Position The end position.

Returns: TextMarker[]An array of text markers.