mirror of
https://github.com/atom/atom.git
synced 2026-04-28 03:01:47 -04:00
Editor and RootView have deserialize class method
This commit is contained in:
@@ -39,6 +39,9 @@ class Editor extends View
|
||||
softTabs: true
|
||||
tabText: ' '
|
||||
|
||||
@deserialize: (viewState) ->
|
||||
new Editor(viewState)
|
||||
|
||||
initialize: ({editSessions, activeEditSessionIndex, buffer, isFocused}) ->
|
||||
requireStylesheet 'editor.css'
|
||||
requireStylesheet 'theme/twilight.css'
|
||||
|
||||
Reference in New Issue
Block a user