Vincent van Ravesteijn wrote:
When the cursor is not visible on screen (probably caused by scrolling with the scrollbar), the cursor is painted at the location (-1,-1+asc). However, this can be seen on the screen (at least on windows).The attached patch solves this problem. If there are no comments / suggestions, I'll put it in (and in branch ?).
Small problem is that you double the access to TextMetrics map. But no strong objection otherwise.
Abdel.