mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-05-19 05:03:32 +08:00
Merge pull request #8555 from Ptival/ace-addmarker
EditSession.addMarker returns a number
This commit is contained in:
4
ace/ace.d.ts
vendored
4
ace/ace.d.ts
vendored
@@ -653,7 +653,7 @@ declare module AceAjax {
|
||||
* @param type Identify the type of the marker
|
||||
* @param inFront Set to `true` to establish a front marker
|
||||
**/
|
||||
addMarker(range: Range, clazz: string, type: Function, inFront: boolean): void;
|
||||
addMarker(range: Range, clazz: string, type: Function, inFront: boolean): number;
|
||||
|
||||
/**
|
||||
* Adds a new marker to the given `Range`. If `inFront` is `true`, a front marker is defined, and the `'changeFrontMarker'` event fires; otherwise, the `'changeBackMarker'` event fires.
|
||||
@@ -662,7 +662,7 @@ declare module AceAjax {
|
||||
* @param type Identify the type of the marker
|
||||
* @param inFront Set to `true` to establish a front marker
|
||||
**/
|
||||
addMarker(range: Range, clazz: string, type: string, inFront: boolean): void;
|
||||
addMarker(range: Range, clazz: string, type: string, inFront: boolean): number;
|
||||
|
||||
/**
|
||||
* Adds a dynamic marker to the session.
|
||||
|
||||
Reference in New Issue
Block a user