“There are plenty of gui text editors for linux.”
I use Visual Code for editing on Linux, Mac, and Windows 10. Another good GUI editor is Notepad++. Both are free and support many languages.
I like sublime, also multi-platform, for code. In my case, code is html/css and very occasionally, php.