Modify shortcut menu entry executes HTMLTidy
-
When I press the Macro > Modify shortcut / Delete macro menu entry in Notepad++, HTMLTidy is executed on the current file, then I get a popup error dialog:
TextFX
“Writing error summary to C:\winprg\Notepad++\plugins\NppTextFX\Config\tidy\HTMLTIDY.ERR”Debug info:
Notepad++ v8.1.9.3 (32-bit)
Build time : Dec 6 2021 - 19:16:45
Path : C:\winprg\Notepad++\notepad++.exe
Command Line :
Admin mode : ON
Local Conf mode : ON
Cloud Config : OFF
OS Name : Windows 7 Professional (64-bit)
OS Build : 7601.0
Current ANSI codepage : 1250
Plugins : BetterMultiSelection.dll ccc.dll ComparePlugin.dll DSpellCheck.dll HTMLTag_unicode.dll mimeTools.dll NppCalc.dll NppCCompletionPlugin.dll NppConverter.dll NppExport.dll NppFavorites.dll NppSnippets.dll NppTextFX.dll NppTextViz.dll PreviewHTML.dll QuickText.dll Remove Duplicate Lines.dll SelectQuotedText.dll SessionMgr.dll SherloXplorer.dll SurroundSelection.dll Translate.dll WebEdit.dll WindowManager.dllHow to fix this problem?
Thanks!
-
I have never seen that when you hit the Macro > Modify Shortcut / Delete Macro menu entry that it runs a macro or that a plugin action is triggered; that doesn’t make much sense to me (unless maybe TextFX triggers any time the editor pane loses focus).
Other than a super-abundance of plugins, which may or may not be interacting together well, and other than still using the TextFX plugin even though it’s been years since it was supported and it hasn’t been updated to match the modern interface (including not using the newer Scintilla calls), an oddity that I see is that you are running in Admin mode.
If I were debugging this problem, I would try
- Exit Notepad++ and rerun not in Admin mode, and see if the problem still occurs
- Check permissions on
C:\winprg\Notepad++\plugins\NppTextFX\Config\tidy\HTMLTIDY.ERR
and its parent-folder hierarchy, to make sure you have the ability to write that file, folder, etc. - Disable all the plugins (
-noPlugin
command line option) and see if it behaves normally - Disable most plugins (rename folders in the
C:\winprg\Notepad++\plugins\
folder of all the ones you don’t want to load) so that you are trying just one or two plugins at a time – maybe it’s an interaction between them
But in general, selecting Macro > Modify Shortcut / Delete Macro should not have any side effects (all it should do is bring up the shortcut dialog on the macro tab)
-
@konrád-lőrinczi said in Modify shortcut menu entry executes HTMLTidy:
When I press the Macro > Modify shortcut / Delete macro menu entry in Notepad++, HTMLTidy is executed on the current file, then I get a popup error dialog:
TextFX
“Writing error summary to C:\winprg\Notepad++\plugins\NppTextFX\Config\tidy\HTMLTIDY.ERR”Debug info:
Notepad++ v8.1.9.3 (32-bit)
Build time : Dec 6 2021 - 19:16:45
Path : C:\winprg\Notepad++\notepad++.exe
Command Line :
Admin mode : ON
Local Conf mode : ON
Cloud- Config : OFF
OS Name : Windows 7 Professional (64-bit)
OS Build : 7601.0
Current ANSI codepage : 1250
Plugins : BetterMultiSelection.dll ccc.dll ComparePlugin.dll DSpellCheck.dll HTMLTag_unicode.dll mimeTools.dll NppCalc.dll NppCCompletionPlugin.dll NppConverter.dll NppExport.dll NppFavorites.dll NppSnippets.dll NppTextFX.dll NppTextViz.dll PreviewHTML.dll QuickText.dll Remove Duplicate Lines.dll SelectQuotedText.dll SessionMgr.dll SherloXplorer.dll SurroundSelection.dll Translate.dll WebEdit.dll WindowManager.dllHow to fix this problem?
Thanks!
this happened to me too, just remove textfx and reinstall it, problem is am already defined macro (alt-shift-s) that is conflicting with textfx