Added tab support to Auto completion box
This commit is contained in:
@@ -1503,6 +1503,19 @@ public sealed class ChatLogWindow : Window
|
|||||||
|
|
||||||
AutoCompleteShouldScroll = true;
|
AutoCompleteShouldScroll = true;
|
||||||
return 1;
|
return 1;
|
||||||
|
|
||||||
|
default:
|
||||||
|
if(ImGui.IsKeyPressed(ImGuiKey.Tab))
|
||||||
|
{
|
||||||
|
if (AutoCompleteSelection == AutoCompleteList.Count - 1)
|
||||||
|
AutoCompleteSelection = 0;
|
||||||
|
else
|
||||||
|
AutoCompleteSelection++;
|
||||||
|
|
||||||
|
AutoCompleteShouldScroll = true;
|
||||||
|
return 1;
|
||||||
|
}
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user