View Single Post
Old 06-11-2019, 06:26 AM   #6
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 28,691
Karma: 205039118
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Quote:
Originally Posted by Doitsu View Post
Thanks for this helpful new feature!

Is it possible to change the non-breaking space replacement characters by applying a Qt stylesheet or source code modifications?
I'm not entirely certain the place-holder underline style/color can be modified via qss, but there are a few options if you modify the source.

It's set in Misc/XHTMLHighlighter.cpp around line 85. It's the .setUnderLineStyle method of special_space_formats. Available choices can be found here: https://doc.qt.io/qt-5/qtextcharform...lineStyle-enum
DiapDealer is offline   Reply With Quote