mirror of
https://github.com/atom/atom.git
synced 2026-01-24 14:28:14 -05:00
💄 Minor stylistic change
This commit is contained in:
committed by
Nathan Sobo
parent
d5f67494ab
commit
20e8856df1
@@ -135,15 +135,12 @@ class TextEditorPresenter
|
||||
@emitDidUpdateState()
|
||||
|
||||
@disposables.add @model.onDidChangeGrammar(@didChangeGrammar.bind(this))
|
||||
@disposables.add @model.onDidChangePlaceholderText =>
|
||||
@emitDidUpdateState()
|
||||
|
||||
@disposables.add @model.onDidChangePlaceholderText(@emitDidUpdateState.bind(this))
|
||||
@disposables.add @model.onDidChangeMini =>
|
||||
@shouldUpdateDecorations = true
|
||||
@emitDidUpdateState()
|
||||
|
||||
@disposables.add @model.onDidChangeLineNumberGutterVisible =>
|
||||
@emitDidUpdateState()
|
||||
@disposables.add @model.onDidChangeLineNumberGutterVisible(@emitDidUpdateState.bind(this))
|
||||
|
||||
@disposables.add @model.onDidAddCursor(@didAddCursor.bind(this))
|
||||
@disposables.add @model.onDidRequestAutoscroll(@requestAutoscroll.bind(this))
|
||||
|
||||
Reference in New Issue
Block a user