mirror of
https://github.com/atom/atom.git
synced 2026-02-16 09:35:54 -05:00
Rename Editor::joinLine to ::joinLines
It acts on multiple lines, and in a quick survey of the literature I see Sublime docs referring to it as "join lines" as well.
This commit is contained in:
@@ -437,7 +437,7 @@ class Selection
|
||||
# Public: Joins the current line with the one below it.
|
||||
#
|
||||
# If there selection spans more than one line, all the lines are joined together.
|
||||
joinLine: ->
|
||||
joinLines: ->
|
||||
selectedRange = @getBufferRange()
|
||||
if selectedRange.isEmpty()
|
||||
return if selectedRange.start.row is @editor.buffer.getLastRow()
|
||||
|
||||
Reference in New Issue
Block a user