[Qt-interest] be notified when a QTextBlock is deleted
Yifei Li
yifli at mtu.edu
Mon Oct 24 22:59:08 CEST 2011
On Oct 24, 2011, at 4:52 PM, Jason H wrote:
> It was a hint. All the document editors use it, it should work for you. If
>
> void QPlainTextEdit::blockCountChanged ( int newBlockCount )[signal]
>
> does not work well nough, you can look at the undo stack and determine what's been happening. How you define a "line" of text is the question vs how Qt defines it.
>
Thanks.
I only found
QWebPage::undoStack ()
how am I supposed to look at the undo stack of QTextDocument?
>
> From: Yifei Li <yifli at mtu.edu>
> To: qt-interest at qt.nokia.com
> Sent: Monday, October 24, 2011 4:27 PM
> Subject: Re: [Qt-interest] be notified when a QTextBlock is deleted
>
>
>
>
>
> On Oct 24, 2011, at 4:23 PM, Jason H wrote:
>
> Are you using, or have you seen the Undo Framework?
>> No. Does that do what I want?
>
>
>>
>> ----- Original Message -----
>> From: Yifei Li <yifli at mtu.edu>
>> To: qt-interest at qt.nokia.com
>> Cc:
>> Sent: Monday, October 24, 2011 4:18 PM
>> Subject: [Qt-interest] be notified when a QTextBlock is deleted
>>
>> Hi all,
>>
>> Is there a way to be notified when a line in QPlainTextEdit is deleted? Thanks
>>
>> Yifei
>>
>> _______________________________________________
>> Qt-interest mailing list
>> Qt-interest at qt.nokia.com
>> http://lists.qt.nokia.com/mailman/listinfo/qt-interest
>>
>>
>
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at qt.nokia.com
> http://lists.qt.nokia.com/mailman/listinfo/qt-interest
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20111024/314219bb/attachment.html
More information about the Qt-interest-old
mailing list