mirror of
https://github.com/atom/atom.git
synced 2026-02-14 08:35:11 -05:00
Restore selection when undoing an insert newline below
This commit is contained in:
@@ -171,8 +171,9 @@ class EditSession
|
||||
@insertText('\n')
|
||||
|
||||
insertNewlineBelow: ->
|
||||
@moveCursorToEndOfLine()
|
||||
@insertNewline()
|
||||
@transact =>
|
||||
@moveCursorToEndOfLine()
|
||||
@insertNewline()
|
||||
|
||||
insertNewlineAbove: ->
|
||||
@transact =>
|
||||
|
||||
Reference in New Issue
Block a user