[DEVELOPMENT ENVIRONMENT]
* BUG: "F2" now correctly finds the definition of classes used as method or array. git-svn-id: svn://localhost/gambas/trunk@7302 867c0c6c-44f3-4631-809d-bfa615b0a4ec
This commit is contained in:
parent
4c26b8485c
commit
083e138e9f
1 changed files with 8 additions and 0 deletions
|
@ -2128,6 +2128,14 @@ Private Function GetExpressionSymbol(aExpr As String[], aType As Integer[]) As C
|
|||
|
||||
'ENDIF
|
||||
|
||||
If Not $hSymbol Then
|
||||
If sPattern = "(" Then
|
||||
Try $hSymbol = CComponent.GetClassSymbols(sType)["_call"]
|
||||
Else If sPattern = "[" Then
|
||||
Try $hSymbol = CComponent.GetClassSymbols(sType)["_get"]
|
||||
Endif
|
||||
Endif
|
||||
|
||||
Return $hSymbol
|
||||
|
||||
End
|
||||
|
|
Loading…
Reference in a new issue