"Fold All Lines" sometimes collapses multiple functions into the same fold - issue, setting, or user error?

Godot Version

v4.2.2.stable.official [15073afe3]


When I use the “fold all lines” shortcut - something that I do a lot - sometimes I will have function declarations disappear from view entirely which can be pretty inconvenient as you might imagine since I can no longer find the function I’m looking for, only to find that unfolding a separate, unrelated function above it will pop out the hidden function, suggesting it got folded up into the other one for some reason. I’m not using regions, so we can rule that out, it’s folding in the function declaration lines themselves. It also doesn’t seem consistent as far as I have noticed, but it is frequent.

Is this an engine issue I should post, a setting I can change, or some kind of user error?