mirror of
https://github.com/atom/atom.git
synced 2026-01-23 13:58:08 -05:00
Don't clip when building highlight regions
This commit is contained in:
@@ -1315,7 +1315,7 @@ class TextEditorPresenter
|
||||
buildHighlightRegions: (tileStartRow, screenRange) ->
|
||||
lineHeightInPixels = @lineHeight
|
||||
startPixelPosition = @pixelPositionForScreenPositionInTile(tileStartRow, screenRange.start, false)
|
||||
endPixelPosition = @pixelPositionForScreenPositionInTile(tileStartRow, screenRange.end, true)
|
||||
endPixelPosition = @pixelPositionForScreenPositionInTile(tileStartRow, screenRange.end, false)
|
||||
spannedRows = screenRange.end.row - screenRange.start.row + 1
|
||||
|
||||
regions = []
|
||||
|
||||
Reference in New Issue
Block a user