added themeChange event
added themeChange event that is dispatched right before a theme is about to change
This commit is contained in:
parent
c4de324545
commit
923ca25057
1 changed files with 2 additions and 0 deletions
|
|
@ -1281,6 +1281,8 @@ var VirtualRenderer = function(container, theme) {
|
|||
var _self = this;
|
||||
|
||||
this.$themeValue = theme;
|
||||
_self._dispatchEvent('themeChange',theme);
|
||||
|
||||
if (!theme || typeof theme == "string") {
|
||||
var moduleName = theme || "ace/theme/textmate";
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue