Sublime Forum

Code folding problem. Bulid 3176

#1

Everything went well, but now I can’t find out why in one group that looks like this

if ($a==1) {
	if ($b==2) {
		if ($c==3) {
		#code	
		}	
	}
}

I can’t fold the level 2 by the shortсut. By mouse click it folds normally. The level 3 folds normally. But the level 2 fails. Other groups above it or below - everything ok and visually looks the same as the problem group. Tried to permute lines, add or remove parts of code, moved code to the right. Help me please - I’m stuck.

0 Likes

#2

Likely the indentation of the second block is different from the file indentation guessed by ST.

0 Likes