diff --git a/src/gutter.coffee b/src/gutter.coffee index c2b365686..ff7926954 100644 --- a/src/gutter.coffee +++ b/src/gutter.coffee @@ -151,7 +151,7 @@ class Gutter extends View updateAllLines = true break - # If a change added or removed lines, just rebuild the entire gutter + # Rebuild the entire gutter if a change added or removed lines if updateAllLines @lineNumbers[0].innerHTML = @buildLineElementsHtml(startScreenRow, endScreenRow) diff --git a/src/language-mode.coffee b/src/language-mode.coffee index 8328fa20f..4caf519ca 100644 --- a/src/language-mode.coffee +++ b/src/language-mode.coffee @@ -196,7 +196,7 @@ class LanguageMode @editor.indentationForBufferRow(nextNonEmptyRow) > @editor.indentationForBufferRow(bufferRow) # Private: Returns a {Boolean} indicating whether the given buffer row starts - # a foldable row range due to a being the start of a multi-line comment. + # a foldable row range due to being the start of a multi-line comment. isFoldableCommentAtBufferRow: (bufferRow) -> @isLineCommentedAtBufferRow(bufferRow) and @isLineCommentedAtBufferRow(bufferRow + 1) and