[Qt-interest] be notified when a QTextBlock is deleted
Jason H
scorp1us at yahoo.com
Mon Oct 24 22:52:48 CEST 2011
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.
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
More information about the Qt-interest-old
mailing list