are there any text editors (especially if written in Python) around that use Python (or something like Python) as a macro programming language?
The problem with sublime text's macro is that doesn't know how to use a search within a macro.
This for me makes the macro worthless except for very basic operations.
jedit's macro works well, but there are other things that I don't care for with their editor, and I don't know what language was used to write it.
Notepadqq is a linux pseudo clone of notepad++, and has a good macro. Difficult to install on Linux mint
It seems that Komodo IDE supports python as a macro language.
I haven't ever tried Komodo. I'll give it a go.