Fix search result line numbers.
[DEVELOPMENT ENVIRONMENT] * BUG: Fix search result line numbers.
This commit is contained in:
parent
183936cfe7
commit
d5c6ea0462
2 changed files with 3 additions and 1 deletions
|
@ -2034,6 +2034,8 @@ Public Sub mnuEditWith_Show()
|
|||
Dim hMenu As Menu
|
||||
|
||||
mnuEditWith.Children.Clear
|
||||
If Not mnuEditWith.Tag Then Return
|
||||
|
||||
For Each hProg In mnuEditWith.Tag
|
||||
hMenu = New Menu(mnuEditWith) As "mnuEditWithProg"
|
||||
hMenu.Caption = hProg.Name & " (" & hProg.ProgramName & ")"
|
||||
|
|
|
@ -1137,7 +1137,7 @@ Public Sub gvwFind_Data(Row As Integer, Column As Integer)
|
|||
.Text = hResult.Location
|
||||
.Alignment = Align.Normal
|
||||
Case 2
|
||||
.Text = CStr(hResult.Line + 1) & " "
|
||||
.Text = CStr(hResult.Line) & " "
|
||||
.Alignment = Align.Right
|
||||
Case 3
|
||||
.Text = CStr(hResult.Column + 1) & " "
|
||||
|
|
Loading…
Reference in a new issue