Hi everyone,
i tried to hide textblock's in QTextEdit, but it doesn't work:
block = textedit.document().begin()
block.setVisible(False)
This code works fine for QPlainTextEdit, but not for QTextEdit. In documentation i haven't found any mention of how it should work for QTextEdit, just following:
void QTextBlock::setVisible ( bool visible ) Sets the block's visibility to visible.
This function was introduced in Qt 4.4.
See also isVisible().
How can i hide block's in QTextEdit?
Thank you in advance