expose ace document, reqjired for various plugins

This commit is contained in:
John McLear 2013-03-26 01:54:01 +00:00
parent 34e3e2f432
commit 6b55d13370

View file

@ -1013,6 +1013,11 @@ function Ace2Inner(){
return caughtErrors.slice(); return caughtErrors.slice();
}; };
editorInfo.ace_getDocument = function()
{
return doc;
};
editorInfo.ace_getDebugProperty = function(prop) editorInfo.ace_getDebugProperty = function(prop)
{ {
if (prop == "debugger") if (prop == "debugger")