mirror of
https://github.com/atom/atom.git
synced 2026-02-14 16:45:14 -05:00
Remove invisibles handling from TokenizedBuffer
This commit is contained in:
@@ -1055,7 +1055,7 @@ class TextEditor extends Model
|
||||
range
|
||||
).map (range) -> range.translate([insertDelta, 0])
|
||||
|
||||
# # Make sure the inserted text doesn't go into an existing fold
|
||||
# Make sure the inserted text doesn't go into an existing fold
|
||||
if fold = @displayLayer.largestFoldStartingAtBufferRow(followingBufferRow)
|
||||
rangesToRefold.push(@displayLayer.bufferRangeForFold(fold).translate([insertDelta - 1, 0]))
|
||||
@displayLayer.destroyFold(fold)
|
||||
|
||||
Reference in New Issue
Block a user