For Next not displayed correctly on 2021 r2

Thanks for sharing it. I’m downloading it right now for checking it. Anyway, just searching and replacing I was able to handle this issue with not reply too much problems

Just in case you missed it, 2021r2.1 has just released with a fix for this issue, I’ve not checked it yet but it might help you keeping with the newer version.

You don’t need to use any of that stuff. I removed it all from my app a couple of years ago. Just stick with the old framework and API2.

In Xojo’s defence, it’s super hard to write unit tests for UI components, especially something as complex as a code editor. I’m not suggesting they don’t try but it’s very hard to do well.