diff --git a/codemirror/codemirror.d.ts b/codemirror/codemirror.d.ts index 08005eb673..a187d8ec18 100644 --- a/codemirror/codemirror.d.ts +++ b/codemirror/codemirror.d.ts @@ -544,6 +544,9 @@ declare module CodeMirror { insertLeft?: boolean; }): CodeMirror.TextMarker; + /** Returns an array of all the bookmarks and marked ranges found between the given positions. */ + findMarks(from: CodeMirror.Position, to: CodeMirror.Position): TextMarker[]; + /** Returns an array of all the bookmarks and marked ranges present at the given position. */ findMarksAt(pos: CodeMirror.Position): TextMarker[];