Open TonyGravagno opened 7 hours ago
"foldLastLine": true
alone does nothing... It's an optional property of a rule.
{"start":4,"end":11,"kind":3}
and {"start":4,"end":12,"kind":3}
start at the same line.
They behave the same but you see a difference because {"start":4,"end":11,"kind":3}
is simply ignored by the foldings displayer.
Two rules (first and second) have a Begin match on the same line. At the end of the block, the inside (second) End is consumed by foldLastLine, but the outside (first) End is not.
To reproduce
Code Example
Settings
Expected behavior
Single folded line that considers all End matches
Actual
Single folded line consumes brace, does not consume closing parenthesis.
Note that the folding does process the brace on line 11 and the parenthesis on line 12. It just doesn't include the parenthesis in the handling of the foldLastLine processing.