Thread: Quick Question
View Single Post
Old 12-08-2020, 09:46 PM   #54
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 8,859
Karma: 6120478
Join Date: Nov 2009
Device: many
There is no code that sets cursorWidth in the QPlainTextEdit used by CodeView or anyplace in Sigil. It literally is not set by any code in Sigil in any of the editor windows and just uses the Qt default. Editing in a TreeView just naturally defaults to using a larger cursor.

FWIW You should file a bug report to Qt about it adopting the Windows Insertion cursor thickness setting.

As for Sigil, if the default size is truly an accessibility problem, we may be able to add an environment variable to control doubling of the the current cursor width to 2 pixels (in Qt display scaled pixel units), at least for the CodeViewEditor. We use environment vars to disable cursor blinking for similar reasons.

Last edited by KevinH; 12-08-2020 at 10:01 PM.
KevinH is offline   Reply With Quote