I am using Qt 5.3 and want to highlight and select the text of QTextEdit like Qt Creator. What I get is just simple highlight with blue background and white color. I am able to change the highlight background and text color with stylesheet and QTextCharFormat. But I can not
In other words I want to format the selection and highlight background area.
2.1m questions
2.1m answers
60 comments
56.9k users