summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/static/js/ace2_inner.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/static/js/ace2_inner.js b/src/static/js/ace2_inner.js
index 2dc6408b..fc69d592 100644
--- a/src/static/js/ace2_inner.js
+++ b/src/static/js/ace2_inner.js
@@ -1013,6 +1013,11 @@ function Ace2Inner(){
return caughtErrors.slice();
};
+ editorInfo.ace_getDocument = function()
+ {
+ return doc;
+ };
+
editorInfo.ace_getDebugProperty = function(prop)
{
if (prop == "debugger")