KaptainMicila / ZScript-VSCode

GZDoom's ZScript language support for VSCode
MIT License
19 stars 7 forks source link

#region and #endregion support #17

Closed KaptainMicila closed 1 month ago

KaptainMicila commented 2 months ago

So I've been told that #region and #endregion are supported by ZScript not only inside comments (which don't work, by the way) but they work even outside of those.

A commit from 2016 on GZDoom's source code as a proof: https://github.com/ZDoom/gzdoom/commit/1ba526d4deacfeebc3f5a660fb45b64a20de33f3

I currently have no idea if they work like they do in other languages (they don't do anything) or they have an actual meaning on the code in between...

KaptainMicila commented 1 month ago

Should be fixed now! GH-21 Please, comment if there are any issues!