Hi,

I have a very simple text editor based on QGraphicsTextItem. I would like to ensure that the blinking cursor is visible if I move the cursor. How can I get the actual cursor position? (The coordinates, not the character number)
I have implemented scroll bar in my editor so I can easily scroll to any part of the text, just I need to know the cursor's actual coordinate in the document. Is it possible?

(I cannot use QTextEdit in a proxy widget, but I think, what I need is a similar function to QTextEdit's ensurecursorvisible)