mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-15 14:16:07 -06:00
ide: Assist Enter/Tab behaviour changed once again
This commit is contained in:
parent
82f7a16ead
commit
f3c19e8a8c
1 changed files with 3 additions and 6 deletions
|
|
@ -1060,12 +1060,9 @@ bool AssistEditor::Key(dword key, int count)
|
|||
return true;
|
||||
}
|
||||
}
|
||||
if(findarg(key, K_ENTER, K_TAB) >= 0 && assist.IsCursor()) {
|
||||
AssistInsert();
|
||||
return true;
|
||||
}
|
||||
if(key == K_TAB && !assist.IsCursor() && assist.GetCount()) {
|
||||
assist.GoBegin();
|
||||
if(findarg(key, K_ENTER, K_TAB) >= 0 && assist.GetCount()) {
|
||||
if(!assist.IsCursor())
|
||||
assist.GoBegin();
|
||||
AssistInsert();
|
||||
return true;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue