You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm seeing a problem where the autosize of the linenumbers is incorrect if I change the editor font and have UseFontStyle set to false (which I think means to use the editor font in the gutter.) I think the situation is that TSynGutter.CalcCharWidth is called when the editor is created but not updated if the font of the editor changes. In my case the initial editor font is Consolas 10 and then I change it in code to Consolas 12, and after that the line number display is too narrow. I'm testing with 50,000 lines or so and scrolled to the bottom to show the issue best.
-Mark
I'm seeing a problem where the autosize of the linenumbers is incorrect if I change the editor font and have UseFontStyle set to false (which I think means to use the editor font in the gutter.) I think the situation is that TSynGutter.CalcCharWidth is called when the editor is created but not updated if the font of the editor changes. In my case the initial editor font is Consolas 10 and then I change it in code to Consolas 12, and after that the line number display is too narrow. I'm testing with 50,000 lines or so and scrolled to the bottom to show the issue best.
-Mark
Originally posted by @MShark67 in #86 (comment)
The text was updated successfully, but these errors were encountered: