Editor returns false when TextInput events are handled

This commit is contained in:
Corey Johnson & Nathan Sobo
2012-04-20 11:17:40 -07:00
parent aac511deff
commit 2afb28ee91

View File

@@ -193,6 +193,7 @@ class Editor extends View
@on "textInput", (e) =>
@insertText(e.originalEvent.data)
false
@scroller.on 'scroll', =>
@gutter.scrollTop(@scroller.scrollTop())