mirror of
https://github.com/rizonesoft/Notepad3.git
synced 2026-06-28 21:02:59 +08:00
Merge pull request #1614 from RaiKoHoff/DevNewFeatures
If AutoCompl. is chosen, only show corresponding word list(s) on Ctrl+Alt-Enter
This commit is contained in:
commit
013297fa76
@ -6934,7 +6934,7 @@ bool EditAutoCompleteWord(HWND hwnd, bool autoInsert)
|
||||
|
||||
PWLIST pListHead = NULL;
|
||||
|
||||
if (Settings.AutoCompleteWords || autoInsert)
|
||||
if (Settings.AutoCompleteWords || (autoInsert && !Settings.AutoCLexerKeyWords))
|
||||
{
|
||||
struct Sci_TextToFind ft = { { 0, 0 }, 0, { 0, 0 } };
|
||||
ft.lpstrText = pRoot;
|
||||
@ -6977,7 +6977,7 @@ bool EditAutoCompleteWord(HWND hwnd, bool autoInsert)
|
||||
if (pwlNewWord) { FreeMem(pwlNewWord); pwlNewWord = NULL; }
|
||||
}
|
||||
// --------------------------------------------------------------------------
|
||||
if (Settings.AutoCLexerKeyWords || autoInsert)
|
||||
if (Settings.AutoCLexerKeyWords || (autoInsert && !Settings.AutoCompleteWords))
|
||||
// --------------------------------------------------------------------------
|
||||
{
|
||||
PKEYWORDLIST const pKeyWordList = Style_GetCurrentLexerPtr()->pKeyWords;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user