F2 key (find definition) works again on labels.

[DEVELOPMENT ENVIRONMENT]
* BUG: F2 key (find definition) works again on labels.
This commit is contained in:
gambas 2018-09-01 02:59:23 +02:00
parent 7e392841d5
commit 69958cde66

View file

@ -2367,7 +2367,7 @@ Private Sub FindDefinition() As Boolean
If sKeyword Begins "{" And If sKeyword Ends "}" Then sKeyword = Mid$(sKeyword, 2, -1)
If iCpt >= 1 And If Highlight.Types[iCpt] = Highlight.Symbol Then
If iCpt >= 1 And If Highlight.Types[iCpt] = Highlight.Label Then
If aSymbols[iCpt - 1] = "GOTO" Or If aSymbols[iCpt - 1] = "GOSUB" Then