#290 Improved recording for misc commands in macro


Currently, most actions in N++ are recorded by Scintilla in macros, to the effect that whatever the commands do tht Scintilla does not see isn't performed at all on playback. This is at best inconvenient and can cause unstabilities in the worst cases.

This patch handles macro recording and playback of: user commands, document switches, macro replays, language changes, plugin commands.

Plugins that allocate IDs dynamically may need to listen to:
* the NPPM_SERIALISEID message, issued when a macro is recording and a dynamic ID command is interepted. Plugin may provide a persistent token for storing in macro.
* the NPPN_EXECPERSISTEDID, that instructs the plugin to act upon the token it generated.

Initial patch against rev 723


  • JesterEE

    JesterEE - 2011-02-28

    This would be very helpful! Can we expect this to be added to the main binary distribution soon?

  • cchris

    cchris - 2011-03-01

    Ask Don.... Since the patch is not lean, changing a number of files, I don't have lots of hope, but who knows....

  • cchris

    cchris - 2011-07-16

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks