Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#290 Improved recording for misc commands in macro

open
nobody
None
5
2012-11-13
2010-12-09
cchris
No

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

Discussion

  • 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

     
    Attachments