[QScintilla] Force cursor rendering

Sam Aaron samaaron at gmail.com
Fri Jul 12 16:14:24 BST 2019


Hi there,

On macOS, when I first start my app which includes a number of QScintilla widgets, the cursor isn’t visible in any of them. However, selection, editing etc. all work with the invisible cursor. If I switch to a different OS app and then back again, the cursor is visible.

Does anyone know why this might occur and if not, whether it’s possible to force the kind of redrawing that happens when the app is switched back to at the launch of my app? For example, I’ve tried calling activeWindow() on all the QScintilla widgets on creation but that doesn’t seem to have any affect and the cursor is still initially invisible.

Kind regards,

Sam


More information about the QScintilla mailing list