Ok, great, thanks for the clarification.
I've decided to trust that QTextDocument is well optimised ;-)
(And having done some rough test I can say it seems it indeed is)
Best Regards,
Vojtech Kral
On 2013-09-11 19:20, Gopalakrishna Bhat wrote:
> On Wed, Sep 11, 2013 at 9:43 PM, Vojtěc
On Wed, Sep 11, 2013 at 9:43 PM, Vojtěch Král wrote:
> Hi,
> I don't understand how to edit text blocks in QTextDocument using
> QTextCursor.
> So far I've been inserting text using QTextCursor::insertText() and it
> worked fine,
> however, I later noticed that each call to QTextCursor::insertTex
Hi,
I don't understand how to edit text blocks in QTextDocument using
QTextCursor.
So far I've been inserting text using QTextCursor::insertText() and it
worked fine,
however, I later noticed that each call to QTextCursor::insertText()
creates a new QTextBlock within the document.
Is it possibl