rizonesoft / Notepad3

Notepad like text editor based on the Scintilla source code. Notepad3 based on code from Notepad2 and MiniPath on code from metapath. Download Notepad3:
https://www.rizonesoft.com/downloads/notepad3/
Other
4.79k stars 322 forks source link

Undo/Redo causes problem in version 6.24.307.1 build #5146

Closed chuanliwen closed 3 months ago

chuanliwen commented 3 months ago

A new small issue appeared in version 6.24.307.1. This issue doesn't exist in the previous versions. Try this: open a text file. Click on line 1 at the line number area, press 2 tabs. Repeat this on line 2. Undo all (by click on Undo icon 4 times). Click on line 3 at the line number area, press tab. Then press Redo. -- A 'NULL' mark appears at line 1's start position.

This issue could be repeated each time one tries.

Here the Redo icon shouldn't be available. I guess these is something wrong with the undo/redo counting or something alike related to it (like the editing history).

hpwamr commented 3 months ago

Then press Redo. -- A 'NULL' mark appears at line 1's start position.

Thanks for the reporting. I can reproduce it. 👍

zufuliu commented 3 months ago

https://sourceforge.net/p/scintilla/bugs/2432/

hpwamr commented 3 months ago

Hello @chuanliwen ,

Feel free to test the "BETA/RC PortableApps", version "Notepad3Portable_6.24.309.1_rc3.paf" or newer, see in issue #1129.

"Notepad3Portable BETA/RC PortableApps" version can be used with or without ".7z" extension.

Also, feel free to test the "BETA/RC Setup", version "Notepad3_6.24.309.1_rc3_Setup" or newer, see the 2nd list in issue #1129.

Comments and suggestions are welcome... 😃

chuanliwen commented 3 months ago

@hpwamr Thanks for your great work. I have tested this new build 6.24.309.1.rc3. Undo/Redo causes NULL characters -- this issue is solved. Well done.