This is how my jmpKeywords.jsl looks like
![jthi_0-1671635782869.png jthi_0-1671635782869.png](https://community.jmp.com/t5/image/serverpage/image-id/48596iB78AEEE4E2A521C5/image-size/medium?v=v2&px=400)
{"If", "For", "For Each Row", "While", "Try", "New Window", "Function", "Panel Box",
"New Namespace", "New Table", "Define Class"}
Located in C:\Users\<USERNAME>\AppData\Roaming\SAS\JMP
![jthi_1-1671635841713.png jthi_1-1671635841713.png](https://community.jmp.com/t5/image/serverpage/image-id/48597i1221AC349BC33569/image-size/medium?v=v2&px=400)
And as @ErraticAttack mentioned Script Editor's code folding can be fairly problematic, usually code reformatting helps but sometimes you will have to re-open (and maybe then reformat) the code.
-Jarmo