Permalink
Browse files

Signal overwriteToggle event

Issue #2180
  • Loading branch information...
1 parent 5523871 commit f9aa052f92015cce3a79bd814866b0503778a4de @WebsiteDeveloper WebsiteDeveloper committed with marijnh Jan 26, 2014
Showing with 2 additions and 0 deletions.
  1. +2 −0 lib/codemirror.js
View
@@ -3228,6 +3228,8 @@ window.CodeMirror = (function() {
this.display.cursor.className += " CodeMirror-overwrite";
else
this.display.cursor.className = this.display.cursor.className.replace(" CodeMirror-overwrite", "");
+
+ signal(this, "overwriteToggle", this, this.state.overwrite);
},
hasFocus: function() { return document.activeElement == this.display.input; },

0 comments on commit f9aa052

Please sign in to comment.