Skip to content

Commit

Permalink
sync UniMode enum with the N++ version
Browse files Browse the repository at this point in the history
  • Loading branch information
chcg committed May 8, 2024
1 parent 5fd75aa commit 037474a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions HexEditor/src/Hex.h
Original file line number Diff line number Diff line change
Expand Up @@ -241,12 +241,17 @@ typedef enum class eError
E_MEMORY = -3
} eError;

//should be in sync with https://github.com/notepad-plus-plus/notepad-plus-plus/blob/master/PowerEditor/src/Parameters.h#L100
//currently enum UniMode {uni8Bit=0, uniUTF8=1, uni16BE=2, uni16LE=3, uniCookie=4, uni7Bit=5, uni16BE_NoBOM=6, uni16LE_NoBOM=7, uniEnd};
typedef enum class UniMode {
uni8Bit,
uniUTF8,
uni16BE,
uni16LE,
uniCookie,
uni7Bit,
uni16BE_NoBOM,
uni16LE_NoBOM,
uniEnd
} UniMode;

Expand Down

0 comments on commit 037474a

Please sign in to comment.