From 1cd955aeb553e1e8f062d13a0fe8a676b64ad300 Mon Sep 17 00:00:00 2001 From: Valentin Robert Date: Mon, 14 Mar 2016 18:13:12 -0700 Subject: [PATCH] EditSession.addMarker returns a number --- ace/ace.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ace/ace.d.ts b/ace/ace.d.ts index 8fed295f20..8694777d35 100644 --- a/ace/ace.d.ts +++ b/ace/ace.d.ts @@ -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.