Idea – Python Script Enhanced Text Editor?

Here is an idea for promoting python programming.

Every now and then. I think. Would it not be good if this or that feature was implemented in the simple text editor. Like in the Pluma editor for the MATE desktop.

Thats why I wonder if it would be possible to enhance the text editor with python scripts.

The idea is that there then exist scripts for the user to build upon or create from scratch.