mirror of
https://github.com/atom/atom.git
synced 2026-04-28 03:01:47 -04:00
Rename autoDecreaseIndentForRow to autoDecreaseIndentForBufferRow
This commit is contained in:
@@ -600,7 +600,7 @@ class EditSession
|
||||
# Given a buffer row, this decreases the indentation.
|
||||
#
|
||||
# bufferRow - The row {Number}
|
||||
autoDecreaseIndentForRow: (bufferRow) ->
|
||||
autoDecreaseIndentForBufferRow: (bufferRow) ->
|
||||
@languageMode.autoDecreaseIndentForBufferRow(bufferRow)
|
||||
|
||||
# Wraps the lines between two rows in comments.
|
||||
|
||||
@@ -278,7 +278,7 @@ class Selection
|
||||
else if options.autoIndentNewline and text == '\n'
|
||||
@editSession.autoIndentBufferRow(newBufferRange.end.row)
|
||||
else if options.autoDecreaseIndent and /\S/.test text
|
||||
@editSession.autoDecreaseIndentForRow(newBufferRange.start.row)
|
||||
@editSession.autoDecreaseIndentForBufferRow(newBufferRange.start.row)
|
||||
|
||||
newBufferRange
|
||||
|
||||
|
||||
Reference in New Issue
Block a user