jamalsenouci / sublimetext-syntaxfold

Sublime Text Plugin that provides a configurable command and popup for folding code based on syntax
MIT License
40 stars 6 forks source link

Syntaxfold aborts when one entry has no start or end markers. #40

Closed phillipse01 closed 4 years ago

phillipse01 commented 4 years ago

As part of code introduced with PR #39 the functionality was added to:

Adding ability to specify different regions within the same source code type.

When one of these regions report 0 matches for both the start and end markers, the fold aborts even if there is other legitimate matches in other regions.