Following the talking on IRC last night (UTC), the issue is that you should be using the MSSQL lexer to highlight your code. If it is not in your language menu, go to Settings -> Preferences -> Language menu to enable it. Now, if all your files use this SQL variant, you may want to associate your SQL files with MSSQL and disable the binding with stancard SQL, which doesn't have CASE recognised as a fold point.
CChris
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The new SQL folding is great!
But there's a bug in the way the CASE ... END statement is handled on multiple lines.
I'll try to upload a screenshot.
here's a screenshot: http://www.autohotkey.net/~infogulch/ext/Screenshot.png
I couldn't figure out how to upload directly to the forum, and places like imagebin.com have some firewall restrictions and aren't permanent.
Following the talking on IRC last night (UTC), the issue is that you should be using the MSSQL lexer to highlight your code. If it is not in your language menu, go to Settings -> Preferences -> Language menu to enable it. Now, if all your files use this SQL variant, you may want to associate your SQL files with MSSQL and disable the binding with stancard SQL, which doesn't have CASE recognised as a fold point.
CChris