@xiaokLinux
It occurred to me that line-change markings could also be generated as a side-effect (meaning you wouldn’t have to do ANYTHING to get them) of the technique for “find dialog automation” discussed in these threads:
https://notepad-plus-plus.org/community/topic/14181/execute-n-find-in-files-via-cmdline-script
https://notepad-plus-plus.org/community/topic/14130/hide-or-toggle-find-results-panel-with-keyboard-command
It is some amount of work, but it is still all Pythonscript, which you indicated you were somewhat familiar with in your original posting.
Basically you would use code to populate the fields in Notepad++'s Find/Replace interface, then press buttons (again via code) to do searches/replacements. Because Notepad++ itself would then take over and do the actual replacements, the line-change markings (from the plugin) would occur.