Skip to content

Commit 5ddb45f

Browse files
committed
add comment
1 parent 6385dbf commit 5ddb45f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/editor/highlights.coffee

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ module.exports =
2929
v.classList.add('ink-profile-line')
3030
v.classList.add(cl) for cl in classes
3131

32+
# can't use ed.defaultCharWidth here because that sometimes seems to be 0
3233
v.style.width = 0.1 + count*ed.preferredLineLength + 'em'
3334
v
3435

0 commit comments

Comments
 (0)