On Wed, 7 Apr 2021 23:36:00 +0200 I wrote:
Me> On Wed, 7 Apr 2021 14:32:47 -0700 David Connet wrote:
Me>
Me> DC> Ah consistency. And ctrl+bksp in the main notepad body deletes the word.
Me>
Me> This has apparently finally changed in a recent version of Windows 10, see
Me>
https://superuser.com/a/1394235/60311
Me>
Me> The full story is, as usual, in Raymond Chen's blog:
Me>
Me>
http://web.archive.org/web/20081207233529if_/http://blogs.msdn.com/oldnewthing/archive/2007/10/11/5395501.aspx
Me>
Me> Anyhow, I wanted to implement this quickly, but it turns out that this is
Me> not as simple as I thought
[...]
Who could have had foreseen that all 3 cases where the system supports
this on its own, namely:
1. Rich edit controls.
2. Plain edit controls that use SHAutoComplete().
3. Notepad in Windows 10 1809 and later.
handle this shortcut in subtly different ways? I guess anybody with enough
of MSW UI experience...
I've finally made
https://github.com/wxWidgets/wxWidgets/pull/2317
keeping it as simple as possible because consistency doesn't seem to be
achievable anyhow here.
Please test it if you can, even the simplest implementation is still not
quite trivial and could be buggy.
TIA!