mirror of
https://github.com/atom/atom.git
synced 2026-01-23 05:48:10 -05:00
Make accented character suggestion work for multiple cursors.
This commit is contained in:
@@ -713,9 +713,7 @@ class Editor 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()
|
||||
position = @getCursorScreenPosition()
|
||||
position.column -= 1
|
||||
@selectToScreenPosition(position)
|
||||
@selectLeft()
|
||||
|
||||
lastInput = e.originalEvent.data
|
||||
@insertText(lastInput)
|
||||
|
||||
Reference in New Issue
Block a user