Skip to content

Commit

Permalink
Merge pull request DefinitelyTyped#3766 from jeremyhayes/master
Browse files Browse the repository at this point in the history
codemirror: add Doc.findMarks
  • Loading branch information
vvakame committed Mar 2, 2015
2 parents d56355d + 6ea56eb commit e99d8e9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions codemirror/codemirror.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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[];

Expand Down

0 comments on commit e99d8e9

Please sign in to comment.