Fix code folding. Refs #6454

It was wired to the wrong function!
Merge remote-tracking branch 'origin/feature/6454_scriptwindow_codefolding'