Merge pull request #1671 from ether/ace_document_expose

expose ace document, reqjired for various plugins
pull/1673/head
John McLear 2013-03-25 18:56:59 -07:00
commit 8b7db49f9c
1 changed files with 5 additions and 0 deletions

View File

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