mirror of
https://github.com/atom/atom.git
synced 2026-02-13 16:14:59 -05:00
Merge branch 'master' into mb-defer-work-when-opening-files
This commit is contained in:
@@ -2887,7 +2887,7 @@ class TextEditor extends Model
|
||||
# whitespace.
|
||||
usesSoftTabs: ->
|
||||
for bufferRow in [0..@buffer.getLastRow()]
|
||||
continue if @tokenizedBuffer.tokenizedLineForRow(bufferRow).isComment()
|
||||
continue if @tokenizedBuffer.tokenizedLines[bufferRow]?.isComment()
|
||||
|
||||
line = @buffer.lineForRow(bufferRow)
|
||||
return true if line[0] is ' '
|
||||
|
||||
Reference in New Issue
Block a user