[Qt-interest] 2 QTextEdit: how to obtain a visible cursor in both at startup

TP paratribulations at free.fr
Fri Jan 14 14:08:08 CET 2011


Andre Somers wrote:

>> Have you any idea about how to make cursors in both widgets visible at
>> the same time?
>> As already said, I want some correspondance between the two QTextEdit:
>> for example, when the cursor moves down in one widget, the other cursor
>> moves down, etc.
> 
> I think, you will have to either hack QTextEdit to show the cursor, or
> create your own fake cursor instead. AFAIK, there is no official Qt API to
> do what you want.

Thanks for your answer.
By curiosity (I think I will not have enough time to code this), what is a 
possible general method to create a fake cursor?




More information about the Qt-interest-old mailing list