UMMARY STEPS TO REPRODUCE * Create a new document * Write hola in 5 different lines * Go to the first one, select it * View looks like https://i.imgur.com/NJ7PjHq.png * Press Ctrl+H * View looks like https://i.imgur.com/tsok8J2.png SOFTWARE/OS VERSIONS KDE Frameworks Version: 6.16 Qt Version: 6.9.1
This seems to possibly be a ktexteditor regression, but you are the experts :)
A possibly relevant merge request was started @ https://invent.kde.org/frameworks/ktexteditor/-/merge_requests/823
Git commit 2b493aa1d33964871b78830402f240e824f40074 by Waqar Ahmed. Committed on 15/07/2025 at 10:35. Pushed by cullmann into branch 'master'. Draw all text background ourselves instead of just selection Its a lot simpler this way and we already do it for RTL since a couple of years. M +17 -78 src/render/katerenderer.cpp M +2 -3 src/render/katerenderer.h https://invent.kde.org/frameworks/ktexteditor/-/commit/2b493aa1d33964871b78830402f240e824f40074