mirror of
https://github.com/atom/atom.git
synced 2026-02-13 16:14:59 -05:00
Merge branch 'master' into ns-switch-to-display-layers
# Conflicts: # src/text-editor.coffee
This commit is contained in:
@@ -76,6 +76,7 @@ class TextEditor extends Model
|
||||
defaultCharWidth: null
|
||||
height: null
|
||||
width: null
|
||||
registered: false
|
||||
|
||||
Object.defineProperty @prototype, "element",
|
||||
get: -> @getElement()
|
||||
@@ -202,7 +203,7 @@ class TextEditor extends Model
|
||||
tokenizedBuffer: tokenizedBufferState
|
||||
largeFileMode: @largeFileMode
|
||||
displayLayerId: @displayLayer.id
|
||||
registered: atom.textEditors.editors.has this
|
||||
registered: @registered
|
||||
|
||||
subscribeToBuffer: ->
|
||||
@buffer.retain()
|
||||
|
||||
Reference in New Issue
Block a user