Advance over tokens that are only whitespace

This commit is contained in:
Kevin Sawicki 2013-02-14 11:47:07 -08:00
parent a2bcea7d06
commit e0556d85af

View File

@ -104,6 +104,7 @@ class ScreenLine
isComment: ->
for token in @tokens
continue if token.isOnlyWhitespace()
continue if token.scopes.length is 1
for scope in token.scopes
return true if _.contains(scope.split('.'), 'comment')