Skip to content

Commit 6812ee7

Browse files
committed
Fix bug incorrect line numbers in FindAllResultsPanel when no number margin setup
1 parent 299d9e8 commit 6812ee7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ScintillaNet_FindReplaceDialog/FindAllResults/FindAllResultsPanel.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ public Scintilla Scintilla
5353

5454
// Is the number margin setup?
5555
if (string.IsNullOrEmpty(_scintilla?.Lines[0].MarginText))
56-
_startingLineNumber = 0;
56+
_startingLineNumber = 1;
5757
else
5858
_startingLineNumber = int.Parse(_scintilla.Lines[0].MarginText);
5959
}

0 commit comments

Comments
 (0)