mmikeww / AHK-v2-script-converter

AHK v1 -> v2 script converter
https://autohotkey.com/boards/viewtopic.php?f=6&t=25100
The Unlicense
581 stars 44 forks source link

Add support for block masking #213

Closed andymbody closed 5 months ago

andymbody commented 5 months ago

Currently supports nested classes and functions (as well as block/line comments and quoted strings)

I have added a flag/toggle at the top of ConvertFuncs.ahk to test with/without masking applied. Just change gUseMasking to 0 to turn masking off.

I tried to make this update as non-intrusive as possible (to maintain the current code structure as much as possible)

I was also generous with comments to explain what is happening in the new MaskCode.ahk. Let me know if you have questions.