mirror of
https://github.com/atom/atom.git
synced 2026-04-28 03:01:47 -04:00
Rename autoIndentNewlines to autoIndentNewline
This commit is contained in:
@@ -366,7 +366,7 @@ class EditSession
|
||||
# text - A {String} representing the text to insert.
|
||||
# options - A set of options equivalent to {Selection.insertText}
|
||||
insertText: (text, options={}) ->
|
||||
options.autoIndentNewlines ?= @shouldAutoIndent()
|
||||
options.autoIndentNewline ?= @shouldAutoIndent()
|
||||
options.autoDecreaseIndent ?= @shouldAutoIndent()
|
||||
@mutateSelectedText (selection) -> selection.insertText(text, options)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user