\r
editor.getSession().on('change', function() {\r
sandbox.publish('xmlChanged');\r
\r
editor.getSession().on('change', function() {\r
sandbox.publish('xmlChanged');\r
sandbox.publish('documentSet');\r
},\r
getDocument: function() {\r
return editor.getValue();\r
}\r
sandbox.publish('documentSet');\r
},\r
getDocument: function() {\r
return editor.getValue();\r
}\r