Put back missing comment that was accidentally deleted with decaf

This commit is contained in:
Antonio Scandurra
2016-10-06 11:50:42 +02:00
parent 9c5bddaa69
commit ae942b87ba

View File

@@ -199,6 +199,9 @@ module.exports = class LinesTileComponent {
}
if (lineText.endsWith(this.presenter.displayLayer.foldCharacter)) {
// Insert a zero-width non-breaking whitespace, so that LinesYardstick can
// take the fold-marker::after pseudo-element into account during
// measurements when such marker is the last character on the line.
const textNode = this.domElementPool.buildText(ZERO_WIDTH_NBSP)
lineNode.appendChild(textNode)
textNodes.push(textNode)