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:
Nathan Sobo
2014-02-25 12:52:13 -08:00
parent 9473039a0b
commit aa04589dd2
8 changed files with 14 additions and 16 deletions

View File

@@ -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()