Hi,
I have some text to display in a QTextEdit and I would like to hide/unhide some parts on a toggle command.
Currently I use QSyntaxHighlighter to color some selected parts, I would like to know if there is a way to also hide that parts.
I have tried to setting font to 1 pixel size and also setting color to QTextEdit background but with no good results because, also if invisible the hidden part takes (empty) space so you still see an empty 'gap' in the text.
There is a way to achieve that?
Thanks
Marco
Bookmarks