add definition of highlightLines

This commit is contained in:
Ryosuke.I 2018-12-27 15:18:03 +09:00 committed by GitHub
parent 424a73f809
commit 9334c854fb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

10
types/ace/index.d.ts vendored
View File

@ -549,6 +549,16 @@ declare namespace AceAjax {
getFoldsInRange(range: Range): any;
highlight(text: string): void;
/**
* Highlight lines from `startRow` to `EndRow`.
* @param startRow Define the start line of the highlight
* @param endRow Define the end line of the highlight
* @param clazz Set the CSS class for the marker
* @param inFront Set to `true` to establish a front marker
**/
highlightLines(startRow:number, endRow: number, clazz: string, inFront: boolean): Range;
/**
* Sets the `EditSession` to point to a new `Document`. If a `BackgroundTokenizer` exists, it also points to `doc`.