-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Closed
Description
Description of the Issue
The heart of the issue lies in the way the menu item IDS interact with the EncodingMapper. IE a constant is subtracted from the ID and used as an index into the encoding map
notepad-plus-plus/PowerEditor/src/NppCommands.cpp
Lines 2174 to 2177 in e339c0f
| int index = id - IDM_FORMAT_ENCODE; | |
| EncodingMapper *em = EncodingMapper::getInstance(); | |
| int encoding = em->getEncodingFromIndex(index); |
However with the recent removal of a number of unused character encodings (60f1137), causes this to breakdown. the command IDs remain the same, however the indexes in the Encoding map have changed. This means that any encoding with a command id greater than the first deleted encoding, no longer behaves as expected.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels