Posted 20 years ago
by tobias weltner
I just tried your editor sample app and used HTML as language.
Combining language definitions work. However, folding does not.
I changed your VBScript language definition so that functions and subs will fold which works fine when I load VBScript as language.
From what I understand, the same definitions should work when I use a VBScript script tag with HTML language.
Adding tokens to VBScript will be reflected inside a VBScript script tag but again folding does not work.
Is there an additional property that needs to be set, or is folding generelly not supported when doing a transition to another language?
Combining language definitions work. However, folding does not.
I changed your VBScript language definition so that functions and subs will fold which works fine when I load VBScript as language.
From what I understand, the same definitions should work when I use a VBScript script tag with HTML language.
Adding tokens to VBScript will be reflected inside a VBScript script tag but again folding does not work.
Is there an additional property that needs to be set, or is folding generelly not supported when doing a transition to another language?