mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-05-16 19:09:18 +08:00
codemirror: add Doc.findMarks
This commit is contained in:
3
codemirror/codemirror.d.ts
vendored
3
codemirror/codemirror.d.ts
vendored
@@ -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[];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user