mirror of
https://github.com/atom/atom.git
synced 2026-01-22 21:38:10 -05:00
💄 comments
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user