Hi!
I found out that the synthaxhighlighter is not changing the color of the document phisically
and i cannot access these colors from the doc. When i set the color via :
Qt Code:
textEdit->mergeCurrentCharFormat(format);To copy to clipboard, switch view to plain text mode
and i have the highlighter applied the display color in the editor is not changed, but
in the doc on that location the color is stored, so when i use this color in print preview
it is visible. The problem is that i want to use the colors from the highlighter, but these colors are not stored into the document. Does anybody have a solution for my problem?
I am looking forward for your help.
Thank you.
Bookmarks