loganch / AutoIt-VSCode

AutoIt Extension for Visual Studio Code
https://marketplace.visualstudio.com/items?itemName=Damien.autoit
MIT License
74 stars 25 forks source link

Cascaded region not shown correctly in outline #211

Open IronJosie opened 7 months ago

IronJosie commented 7 months ago

It seems like cascaded Region are not shown correctly in the outline: image

  1. Is correct
  2. Is correct
  3. Is on the same lavel as Layer A and Layer B
vanowm commented 7 months ago

look like 2 is incorrect, 3 is fine.

loganch commented 6 months ago

Did some poking around and the code I set up to determine Regions isn't sufficient. The regex to capture the length/area of the Regions ends too early and with the trouble I'm having with nesting it will probably require more involved refactoring.