-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Closed
Description
Is there an existing issue for this?
- I have searched the existing issues
Is the issue reproducible in Notepad++ without plugin?
- I have tried Notepad++ without plugin
Is the issue reproducible in portable version of Notepad++?
- I have tried portable version of Notepad++
Does the issue affect SciTE?
- I have tried SciTE
Description of the Issue
Previously, to specify Notepad++ context menu shortcuts, a simple tab between the shortcut text and the shortcut itself was enough to right-align them. Now, this only creates a single space.
Steps To Reproduce
- Use a custom "contextMenu.xml" file like:
<NotepadPlus>
<ScintillaContextMenu>
<Item MenuEntryName="Edit" MenuItemName="Cut" ItemNameAs="Couper Ctrl+X" /><!-- tabulation before shortcut in ItemNameAs -->
<Item MenuEntryName="Edit" MenuItemName="Copy" ItemNameAs="Copier Ctrl+C" />
<Item MenuEntryName="Edit" MenuItemName="Paste" ItemNameAs="Coller Ctrl+V" />
<Item MenuEntryName="Edit" MenuItemName="Delete" ItemNameAs="Supprimer Suppr" />
<Item MenuEntryName="Edit" MenuItemName="Select all" ItemNameAs="Sélectionner tout Ctrl+A" />
</ScintillaContextMenu>
</NotepadPlus> - Restart Notepad++
- Right Click on window to show context Menu (in notepad++)
Current Behavior
Before all shortcut were aligned to the right (one tabulation = right align)
Expected Behavior
Now all are just separate by one space form the Item Name (one tabulation = one space only)
Debug Information
Notepad++ v8.9.1 (64-bit)
Build time: Jan 18 2026 - 22:45:31
Scintilla/Lexilla included: 5.5.8/5.4.6
Boost Regex included: 1_90
pugixml included: 1.15
nlohmann JSON included: 3.12.0
Path: C:\Program Files\Notepad++\notepad++.exe
Command Line:
Admin mode: OFF
Local Conf mode: OFF
Cloud Config: C:\Users\Username\OneDrive\Applications\Notepad++
Periodic Backup: OFF
Placeholders: OFF
Scintilla Rendering Mode: SC_TECHNOLOGY_DIRECTWRITE (1)
Multi-instance Mode: monoInst
asNotepad: OFF
File Status Auto-Detection: cdEnabledNew (for current file/tab only)
Dark Mode: ON
Display Info:
primary monitor: 1920x1080, scaling 100%
visible monitors count: 3
installed Display Class adapters:
0000: Description - NVIDIA GeForce RTX 5070
0000: DriverVersion - 32.0.15.9186
0001: Description - AMD Radeon(TM) Graphics
0001: DriverVersion - 32.0.21030.2001
OS Name: Windows 11 Home (64-bit)
OS Version: 25H2
OS Build: 26200.7705
Current ANSI codepage: 1252
Plugins:
CodeAlignmentNpp (14.1.107)
DSpellCheck (1.5)
mimeTools (3.1)
NppConverter (4.7)
NppExport (0.4)
Remove Duplicate Lines (1.3)
XMLTools (3.1.1.13)
_CustomizeToolbar (5.3)Anything else?
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels