cullmann added a comment.
The issue with this approach is, that you get "too high" lines for the case that none of this characters ever appear. Beside that, unfortunately, you get rendering artifacts in addition, as Qt will not paint e.g. selection high enough for lines without such chars. See e.g. attached screenshot.F7768081: rendering_issue.png <https://phabricator.kde.org/F7768081> REPOSITORY R39 KTextEditor REVISION DETAIL https://phabricator.kde.org/D25339 To: xuetianweng, #ktexteditor, cullmann, dhaumann Cc: kde-frameworks-devel, kwrite-devel, LeGast00n, GB_2, domson, michaelh, ngraham, bruns, demsking, cullmann, sars, dhaumann