My current editor has a RepeatCount property that is normally set to 1.
If I set it to say 10 then the next 'command' will be executed 10 times. (after which the count automatically resets to 1)
The 'command' can be something as simple as typing a character or highlighting a letter, or more often, executing a keyboard macro.
In the case of macros I could add a count field to the dialog that allows the user to select which macro they want to execute (assuming they dont execute it via a keyboard shortcut) and then simply execute the macro inside a For loop.
But does SyntaxEditor either have a similar property, or have a method/event that I can hook into which is called before EVERY command [including typing a character] so that I can implement a loop there instead.