Restore auto-completion insert selection default setting (ENTER & TAB)

Since auto-completion feature appeared in Notepad++, its selected item insertion default setting has had been always both "ENTER" & "TAB" keys. In commit 68d339d224eba0fa7aeb2e0f7526b3311cc02c5a:
68d339d224
this default setting was changed to only "TAB", that made a lot users who used "ENTER" for insertion unhappy.
In this commit the old default value has been restored. Users can always change this behaviour in auto-completion settings of preferences dialog.

Ref:
https://community.notepad-plus-plus.org/topic/22425/notepad-v8-2-1-release/34?_=1644179730538
This commit is contained in:
Don Ho 2022-02-06 23:45:04 +01:00
parent deb99ae45b
commit bbe8a7db26
1 changed files with 1 additions and 1 deletions

View File

@ -805,7 +805,7 @@ struct NppGUI final
AutocStatus _autocStatus = autoc_both;
size_t _autocFromLen = 1;
bool _autocIgnoreNumbers = true;
bool _autocInsertSelectedUseENTER = false;
bool _autocInsertSelectedUseENTER = true;
bool _autocInsertSelectedUseTAB = true;
bool _funcParams = true;
MatchedPairConf _matchedPairConf;