mirror of
https://github.com/atom/atom.git
synced 2026-01-24 22:38:20 -05:00
Don’t call method to read stack
If the line is undefined, we want the stack to be null.
This commit is contained in:
@@ -375,7 +375,7 @@ class TokenizedBuffer extends Model
|
||||
@tokenizedLineForRow(row)
|
||||
|
||||
stackForRow: (bufferRow) ->
|
||||
@tokenizedLineForRow(bufferRow)?.ruleStack
|
||||
@tokenizedLines[bufferRow]?.ruleStack
|
||||
|
||||
openScopesForRow: (bufferRow) ->
|
||||
if bufferRow > 0
|
||||
|
||||
Reference in New Issue
Block a user