Editing a script, I was using the Find/Replace function. I was trying to replace the string MainW with mainWindow. I didn't use the Replace All button (because I didn't want MainWin to become mainWind...
Thank you for reporting the issue. We have prepared a fix for it. Please submit a request via our Contact Support form - we will provide you with the fix.