mirror of
https://github.com/atom/atom.git
synced 2026-01-22 21:38:10 -05:00
Call selectLeft on editor
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user