Steps to reproduce: 1.) Open the attached file “bug.mss” in Kate. 2.) Click on code folding at line 1: The lines 2, 3, 4 are hidden as expected. The last line (line 5) with the closing “}” isn’t hidden. 3.) Click again on code folding at line 1: The lines 2, 3, 4 appear. 4.) Click on code folding at line 2: The lines 3, 4 are hidden. This time, the line with the closing “}” (line 4) is hidden. 5.) Now, lines 1, 2, 5 are visible. Click on code folding at line 1: Nothing happens. Bugs: A: Current behaviour: The behaviour of step 2 and step 4 isn’t consistent: One time, the line with the closing “}” is hidden, another time not. Expected behaviour: The behaviour is consistent in both situations. B: Current behaviour: In step 5, nothing happens. Expected behaviour: Code folding as usual.
Missing the attachment?
Created attachment 113713 [details] bug.mss Sorry, I forgot the attachment. Here it comes now.
Attachment available now, removing “NEEDSINFO”.
Thanks, can reproduce with git master using your attachment.
This seems for me to be fixed with the latest framework version.