I think the basic text widget of all the toolkit support text attributes (color, styles,…) and as the solutions for syntax highlighting and other stuff existed already, it was not a big stretch to add them instead of having two editors (the first user was the programmer)
Every single built-in "basic" text editor of every single distro comes with syntax highlighting, line numbers, tabs, etc.
I just want a rectangle to type text into.
Notepad is turning into what Linux text editors already are: too complicated.