#9828

supercoolm
Participant

it’s reproducible on fresh install of latest EmEditor, so I think it’s a bug because default configuration comes with EmEditor does this.

steps:

1. fresh install latest EmEditor (64-bit edition)
2. launch EmEditor
3. select C++ configuration
4. copy the first code snippet in my post and paste them into EmEditor
5. enter number with keyboard to the array value between bracelet brackets

example:
change

uint16_t tempArray[] = { 0x0000, 0x0000, 0x0000, 0x0000, 0x0000 };

to

uint16_t tempArray[] = { 0x0000, 0x0000, 0x0000, 0x00200, 0x0000 };

6. observe indentation of the line immediately change to no indentation, which is wrong as described in the post