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 e2d279e commit 04a8cf8Copy full SHA for 04a8cf8
FastColoredTextBox/FastColoredTextBox.cs
@@ -145,7 +145,8 @@ public FastColoredTextBox()
145
InitTextSource(CreateTextSource());
146
if (lines.Count == 0)
147
lines.InsertLine(0, lines.CreateLine());
148
- selection = new Range(this) {Start = new Place(0, 0)};
+ selection = new Range(this);
149
+ selection.SetStartAndEnd(new Place(0, 0));
150
//default settings
151
Cursor = Cursors.IBeam;
152
BackColor = Color.White;
0 commit comments