We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 264e4f6 commit 2b68790Copy full SHA for 2b68790
Project/Src/Gui/GutterMargin.cs
@@ -42,7 +42,7 @@ public GutterMargin(TextArea textArea) : base(textArea)
42
public override Cursor Cursor => RightLeftCursor;
43
44
public override int Width
45
- => textArea.TextView.WideSpaceWidth*Math.Max(4, (int)Math.Log10(textArea.Document.TotalNumberOfLines) + 4);
+ => textArea.TextView.WideSpaceWidth * (2 * (int)Math.Log10(textArea.Document.TotalNumberOfLines) + 3) / 2;
46
47
public override bool IsVisible => textArea.TextEditorProperties.ShowLineNumbers;
48
0 commit comments