mirror of
https://github.com/atom/atom.git
synced 2026-01-22 21:38:10 -05:00
Note the synchronous loading of Tokenized Buffer
This commit is contained in:
@@ -30,6 +30,8 @@ class TokenizedBuffer
|
||||
constructor: (optionsOrState) ->
|
||||
if optionsOrState instanceof telepath.Document
|
||||
@state = optionsOrState
|
||||
|
||||
# TODO: This needs to be made async, but should wait until the new Telepath changes land
|
||||
@buffer = project.bufferForPath(optionsOrState.get('bufferPath'))
|
||||
else
|
||||
{ @buffer, tabLength } = optionsOrState
|
||||
|
||||
Reference in New Issue
Block a user