Document undefined case

This commit is contained in:
Kevin Sawicki
2014-08-29 09:42:51 -07:00
parent d870cb8f36
commit 690d32cca9

View File

@@ -830,7 +830,8 @@ class Editor extends Model
# Returns `true` if the first non-comment line with leading whitespace starts
# with a space character. Returns `false` if it starts with a hard tab (`\t`).
#
# Returns a {Boolean}
# Returns a {Boolean} or undefined if no non-comment lines had leading
# whitespace.
usesSoftTabs: ->
for bufferRow in [0..@buffer.getLastRow()]
continue if @displayBuffer.tokenizedBuffer.lineForScreenRow(bufferRow).isComment()