Move the editor commands implementation outside the SynEdit.pas unit, probably using the TAction framework, and rewrite/abstract the code (and the "undo" handling) in terms of basic text operations (add/remove).
Log in to post a comment.