I downloaded revision 7075 which according to the post, has a streamlined wxscintilla... but the folding still doesn't work :( Do I have to assume that scintilla just doesn't fold well with ASP?
EDIT: I managed a workaround. Since Codeblocks assumes the " ' " character is a string delimiter (and not a comment delimiter as VBSCRIPT specifies), I only create a "fake string" commenting a bracket:
function myfunction(blah) ' ' {
end function ' '}
EDIT: On reloading, the above trick doesn't work! :'(
I tried with SciTE, and if I select "VBScript", I can fold properly.
EDIT: This is interesting. In an older version of C::B (5686), I can select "vbscript" as the highlighting mode, and the blocks show Ok. But in the newest version, the change had no effect. I'll try tomorrow at work (where I have the latest C::B) to confirm.
Here's the sample "test.asp":
<%
class myclass
function myfunc(a,b,c)
blah
blah
end function
end class
%>