Folded code gets unfolded if I switch tabs

robtillaart:
which IDE version?

Sorry. 1.6.5 r2