From 88af81572dfaa7b2fef30df878e072b2196a77f9 Mon Sep 17 00:00:00 2001 From: anijanyan Date: Wed, 19 Oct 2022 20:54:26 +0400 Subject: [PATCH] some typings fixed --- ace.d.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/ace.d.ts b/ace.d.ts index 186c3af4731..4509ca29e2f 100644 --- a/ace.d.ts +++ b/ace.d.ts @@ -397,6 +397,10 @@ export namespace Ace { canRedo(): boolean; bookmark(rev?: number): void; isAtBookmark(): boolean; + hasUndo(): boolean; + hasRedo(): boolean; + isClean(): boolean; + markClean(rev?: number): void; } export interface Position { @@ -459,7 +463,7 @@ export namespace Ace { inFront?: boolean): number; addDynamicMarker(marker: MarkerLike, inFront: boolean): MarkerLike; removeMarker(markerId: number): void; - getMarkers(inFront?: boolean): MarkerLike[]; + getMarkers(inFront?: boolean): {[id: number]: MarkerLike}; highlight(re: RegExp): void; highlightLines(startRow: number, endRow: number,