Hi,
The fold command (ctrl+shift+[) works well when a cursor is on the ‘// body…’ line


But when the cursor is on the same line with curly brackets, the upper function folds. It should behave like the first example.


Hi,
The fold command (ctrl+shift+[) works well when a cursor is on the ‘// body…’ line


But when the cursor is on the same line with curly brackets, the upper function folds. It should behave like the first example.


This is due this two issues on the Sublime Text core:
The from #1343 we see where the current folding scopes starts on Sublime Text. And from the #101 we see how Sublime Text do the folding nowadays.
You may up vote they:
