Rename editor.autoIndentPastedText to editor.autoIndentOnPaste

This commit is contained in:
Corey Johnson
2013-01-10 09:42:20 -08:00
parent d2521ca8b8
commit d53572d54d
2 changed files with 4 additions and 5 deletions

View File

@@ -161,7 +161,7 @@ class EditSession
config.get("editor.autoIndent") ? true
shouldAutoIndentPastedText: ->
config.get("editor.autoIndentPastedText") ? false
config.get("editor.autoIndentOnPaste") ? false
insertText: (text, options={}) ->
options.autoIndent ?= @shouldAutoIndent()
@@ -230,7 +230,6 @@ class EditSession
[text, metadata] = pasteboard.read()
_.extend(options, metadata) if metadata
console.log options
@insertText(text, options)
undo: ->