[Qt-interest] QTextEdit character offset

Keshava Krishna keshavkrishna88 at gmail.com
Sat Mar 14 16:07:34 CET 2009


I have been searching for function that can get me the starting and ending
offsets for 2 days now...
please help me people, I am in real trouble...

On Sat, Mar 14, 2009 at 2:11 PM, Keshava Krishna
<keshavkrishna88 at gmail.com>wrote:

> 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/b7b8118e/attachment.html 


More information about the Qt-interest-old mailing list