ProgerXP / Notepad2e

Word highlighting, simultaneous editing, split views, math evaluation, un/grep, comment reformatting, UAC elevation, complete regexps (PCRE), Lua lexers, DPI awareness and more (XP+)
Other
372 stars 52 forks source link

Double Ctrl+A in Run clears the value #298

Closed ProgerXP closed 4 years ago

ProgerXP commented 4 years ago
  1. Ctrl+R
  2. Ctrl+A
  3. Ctrl+A

Result: the input is now empty.

cshnik commented 4 years ago

Cannot Reproduce. Which OS version is used? I've tested locally in WinXP, Windows 7. Please provide video for the issue.

ProgerXP commented 4 years ago

It's definitely still happening for me (Win10) although only on my host system, not in virtual Win10, Win7 or XP (but in XP Ctrl+A doesn't work in input fields). Do you have any idea what can be causing it?

Please provide video for the issue.

Simply open any file, press Ctrl+R (run command is selected), then Ctrl+A (run command is not selected, caret is put to the end), Ctrl+A again (run command becomes empty). It doesn't happen on unnamed buffers. It also doesn't happen if, after the second Ctrl+A you type something and press Ctrl+A - it works properly.

Maybe the dialog contains \n or some other non-printable character that's confusing Windows?

cshnik commented 4 years ago

Still cannot reproduce. Tested on Windows 10 Enterprise 10.0.18362. Are you using any tweaker tools for Windows OS? The point is: command edit behavior is managed by OS and is initialized by SHAutoComplete() API call which may cause different behavior on different machines.

ProgerXP commented 4 years ago

Likely caused by something on my system.