From 39293fc55d77b5089cf1bdc57b61d9c8a975975a Mon Sep 17 00:00:00 2001 From: shaban Date: Thu, 25 Jun 2015 01:48:44 +0200 Subject: [PATCH] Update ace.d.ts Add isClean and markClean methods. Reference https://github.com/ajaxorg/ace/issues/324 --- ace/ace.d.ts | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/ace/ace.d.ts b/ace/ace.d.ts index 4758b59e96..f0668da3c4 100644 --- a/ace/ace.d.ts +++ b/ace/ace.d.ts @@ -2609,6 +2609,16 @@ declare module AceAjax { * Returns `true` if there are redo operations left to perform. **/ hasRedo(): boolean; + + /** + * Returns `true` if the dirty counter is 0 + **/ + isClean(): boolean; + + /** + * Sets dirty counter to 0 + **/ + markClean(): void; } var UndoManager: {