mirror of
https://github.com/atom/atom.git
synced 2026-04-06 03:02:13 -04:00
Use TokenizedBuffer as a text decoration layer and render tags
This commit is contained in:
@@ -52,6 +52,7 @@ class DisplayBuffer extends Model
|
||||
})
|
||||
@buffer = @tokenizedBuffer.buffer
|
||||
@displayLayer = @buffer.addDisplayLayer({tabLength: @getTabLength()})
|
||||
@displayLayer.setTextDecorationLayer(@tokenizedBuffer)
|
||||
@charWidthsByScope = {}
|
||||
@defaultMarkerLayer = @displayLayer.addMarkerLayer()
|
||||
@decorationsById = {}
|
||||
|
||||
Reference in New Issue
Block a user