Call selectLeft on editor

This commit is contained in:
Kevin Sawicki
2014-01-16 16:00:09 -08:00
parent 7f790137ed
commit f19d2d7369

View File

@@ -413,7 +413,7 @@ class EditorView extends View
# Work around of the accented character suggestion feature in OS X.
selectedLength = @hiddenInput[0].selectionEnd - @hiddenInput[0].selectionStart
if selectedLength is 1 and lastInput is @hiddenInput.val()
@selectLeft()
@editor.selectLeft()
lastInput = e.originalEvent.data
@editor.insertText(lastInput)