Hello, in beforeKeyDown:
beforeKeyDown: function (e) {
var value= this.getActiveEditor().getValue();
…
the value of this.getActiveEditor().getValue(); is not the current value typed, how can i get it? I need all string typed to apply a regular expression for block user to typed some special char.