diff --git a/autotests/folding/brightscript.brs.fold b/autotests/folding/brightscript.brs.fold --- a/autotests/folding/brightscript.brs.fold +++ b/autotests/folding/brightscript.brs.fold @@ -3,15 +3,15 @@ library "a" -function myfunc ( foo as Integer , bar as Float = 3.5 ) as Void -end function +function myfunc ( foo as Integer , bar as Float = 3.5 ) as Void +end function -sub mysub ( foo as Integer , bar as Float = 3.5 ) as Void -end sub +sub mysub ( foo as Integer , bar as Float = 3.5 ) as Void +end sub ' my comment -Function MyCamelCaseFunction() +Function MyCamelCaseFunction() lvalue = rvalue a=5 a=5! @@ -91,15 +91,15 @@ a = { a : 1 b : "2" - c : function() : end function + c : function() : end function } b.foo("string",1,{a:b},1.5,[1,2,3]) a = b.foo("string",1,{a:b},1.5,[1,2,3]) -unnamed_function = function ( a as Integer ) as Float -end function +unnamed_function = function ( a as Integer ) as Float +end function -unnamed_sub = sub ( a as Integer ) as Void -end sub -endFunction +unnamed_sub = sub ( a as Integer ) as Void +end sub +endFunction diff --git a/data/syntax/brightscript.xml b/data/syntax/brightscript.xml --- a/data/syntax/brightscript.xml +++ b/data/syntax/brightscript.xml @@ -4,7 +4,7 @@ name="BrightScript" section="Scripts" extensions="*.brs" - version="1" + version="2" kateversion="5.0" author="Daniel Levin (dendy.ua@gmail.com)" license="MIT"> @@ -230,7 +230,7 @@ - + @@ -256,7 +256,7 @@ - + @@ -287,21 +287,24 @@ - - + + - + + + + + - - + - + @@ -332,15 +335,18 @@ - - + + - + + + + + - - + @@ -350,6 +356,7 @@ +