mirror of
https://github.com/atom/atom.git
synced 2026-04-28 03:01:47 -04:00
Don’t apply line decorations to last line if it ends at column 0
This commit is contained in:
@@ -108,9 +108,11 @@ class TextEditorPresenter
|
||||
continue if properties.onlyNonEmpty
|
||||
else
|
||||
continue if properties.onlyEmpty
|
||||
continue if row is range.end.row and range.end.column is 0
|
||||
|
||||
decorationClasses ?= []
|
||||
decorationClasses.push(properties.class)
|
||||
|
||||
decorationClasses
|
||||
|
||||
setScrollTop: (@scrollTop) ->
|
||||
|
||||
Reference in New Issue
Block a user