PDA

View Full Version : How do I find the last QTextBlock in a selection provided by QTextCursor



bcman
5th January 2012, 21:32
I have a QTextEdit, and in it I want to determine the first and last selected block in the selection associated with the cursor returned by QTextEdit::textCursor().

So far I don’t see anything in the API that lets me do this.

Thanks.
:confused: