This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # about: Inspect shortcuts.xml macro's and open new tab with commented content | |
| # help: https://community.notepad-plus-plus.org/topic/23039/faq-desk-how-to-install-and-run-a-script-in-pythonscript | |
| # name: MacroInspect | |
| # require: Notepad++ with PythonScript 3 plugin | |
| from Npp import editor, notepad, FINDOPTION, LANGTYPE, MESSAGEBOXFLAGS | |
| import html, json, os, re | |
| import urllib.request | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # about: Patch the current buffer in Notepad++. | |
| # help: https://community.notepad-plus-plus.org/topic/23039/faq-desk-how-to-install-and-run-a-script-in-pythonscript | |
| # name: BufferPatch | |
| # require: Notepad++ with PythonScript 3 plugin | |
| # optional: WinMerge to merge modifications before patching | |
| from Npp import editor, notepad, BUFFERENCODING, MESSAGEBOXFLAGS | |
| import difflib, os, re, subprocess, tempfile | |