Merge pull request #3766 from jeremyhayes/master

codemirror: add Doc.findMarks
This commit is contained in:
Masahiro Wakame
2015-03-03 01:04:48 +09:00
+3
View File
@@ -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[];