The code show in the image is in the default script editor, right? How did you change the title?
A couple years ago I started working on an in game script editor for an interactive Lua tutorial. Unfortunately I left it in a state where the progress on the editor isn’t visible and I can’t quite remember how to use it again. Back then there wasn’t some of the minimal IDE features that studio has now, so I also wanted to try and add suggestions and similar things. If I remember correctly, I got syntax highlighting and code collapsing working. There may have been some editing bugs.
Point being: if you feel so inclined, you can make your own script editor. If you do, please make it an open source community project so we can all help you and make it great. For the past 16 or so hours I’m been working on my typed lua project called LuaFida (fida being Latin for trustworthy). I have a flexible deterministic finite automata tokenizer and am currently working on a LL(k) parser generator, all in Lua. Having an interface to allow for custom highlighting and other interactions rather than a command-line style error list would be great.
The editor, unfortunately as is the case with a lot of Roblox features, is all implemented in C++ in a way that we can’t interface with. While I was an intern I went out of my way to push (as I am now) that most functionality should be implemented in Lua. The API exposed to Lua should be the core basic functionality (i.e. draw a triangle/image). All of the GUI objects like TextBox and ImageButton should be created in Lua on top of the core functionality and editable. This would work well with the soon to be released package system. Basically I have a vision of Roblox similar to Linux, with almost everything being swap-able with custom functionality.
Obviously not everyone thought we should trash all the legacy C++ codebase. One common argument was that Lua would be too slow. We talked about LuaJIT, but only JS can be JIT’d on Apple devices so we thought about transpiling Lua to JS. But now what I think would be best is writing a front end for GCC for Lua. That way Roblox games can be approved, installed, and run like any other game on Apple devices, the Roblox app being a like a normal app catalog. Server scripts could also be compiled for HUGE speed ups across all Roblox games.
I loved the step we took toward this vision with Lua Widgets. So, if you want to support this vision for Roblox, making open source community projects in the form of packages/repositories, like a code editor, is a great start. I’d suspect that LuaFida will start being useful sometime next week. Who knows? If the community makes it great enough, maybe it will become THE Roblox script editor some day. ^.^