Merge branch 'bsteers4-master-patch-46598' into 'master'
TextHighlighter_Sh.class, fix error after function keyword if bracket does not exist See merge request gambas/gambas!285
This commit is contained in:
commit
1dd2f4969f
@ -102,7 +102,7 @@ Public Sub RunWith(sText As String, cKeyword As Collection, cOperator As Collect
|
||||
Else If InStr(Trim(sText), "function") = 1 Then
|
||||
|
||||
TextHighlighter.Add(State.Keyword, 9)
|
||||
TextHighlighter.Add(State.Function, RInStr(sText, "(") - 10)
|
||||
If InStr(sText,"(") Then TextHighlighter.Add(State.Function, RInStr(sText, "(") - 10)
|
||||
Break
|
||||
|
||||
Else If sCar = "#" Then
|
||||
|
Loading…
x
Reference in New Issue
Block a user