Open mikekov opened 9 years ago
Control Panel Ease of Use allows users to set caret thickness to their liking. Unfortunately PN ignores this setting. Please fix it. It could be as simple as adding couple of lines in Scheme::SetupScintilla to call GetSystemMetrics:
sc.SPerform(SCI_SETCARETSTYLE, CARETSTYLE_LINE, 0); int cwidth = options.Get(NULL, _T("CaretWidth"), 0); if (cwidth != 0) { sc.SPerform(SCI_SETCARETWIDTH, cwidth, 0); } else { cwidth = GetSystemMetrics(SM_CXCURSOR); sc.SPerform(SCI_SETCARETWIDTH, cwidth, 0); }
Control Panel Ease of Use allows users to set caret thickness to their liking. Unfortunately PN ignores this setting. Please fix it. It could be as simple as adding couple of lines in Scheme::SetupScintilla to call GetSystemMetrics: