Use TextEditor::update in TextEditorRegistry

This commit is contained in:
Max Brunsfeld
2016-08-11 14:09:17 -07:00
parent ef94a940a9
commit fc16eeadca
2 changed files with 46 additions and 22 deletions

View File

@@ -194,6 +194,27 @@ class TextEditor extends Model
value = params[param]
switch param
when 'autoIndent'
@autoIndent = value
when 'autoIndentOnPaste'
@autoIndentOnPaste = value
when 'undoGroupingInterval'
@undoGroupingInterval = value
when 'nonWordCharacters'
@nonWordCharacters = value
when 'backUpBeforeSaving'
@backUpBeforeSaving = value
when 'scrollSensitivity'
@scrollSensitivity = value
when 'encoding'
@buffer.setEncoding(value)
when 'softTabs'
if value isnt @softTabs
@softTabs = value