From b95b3148c9f972e934b06bce5ebc8b856c68bfae Mon Sep 17 00:00:00 2001 From: probablycorey Date: Thu, 10 Oct 2013 11:26:05 -0700 Subject: [PATCH] Note the synchronous loading of Tokenized Buffer --- src/tokenized-buffer.coffee | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/tokenized-buffer.coffee b/src/tokenized-buffer.coffee index cae54f8be..ce51f67ba 100644 --- a/src/tokenized-buffer.coffee +++ b/src/tokenized-buffer.coffee @@ -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