Mode Behaviours
This commit is contained in:
parent
0d9b5dd8b9
commit
1261c55913
2 changed files with 61 additions and 2 deletions
|
|
@ -412,7 +412,7 @@ var Editor =function(renderer, session) {
|
|||
var mode = session.getMode();
|
||||
|
||||
var cursor = this.getCursorPosition();
|
||||
var transform = mode.transformInput(session.getState(cursor.row), this, session, text);
|
||||
var transform = mode.transformInsert(session.getState(cursor.row), this, session, text);
|
||||
|
||||
if (transform)
|
||||
text = transform.text;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue