[Qt-interest] QTextEdit character offset

Keshava Krishna keshavkrishna88 at gmail.com
Sat Mar 14 09:41:21 CET 2009


Hi,

'm building a text editor using QTextEdit, the user can scroll through the
text document by using vertical scrollbar.
i want to konw the offsets (character count) of the 1st and the last
character that is currently visible in the Text Area. (even though the
cursor position is not changed),
Please suggest me a way to do it.

Regards,
Keshava.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090314/1926a254/attachment.html 


More information about the Qt-interest-old mailing list