mirror of https://github.com/WerWolv/ImHex.git
impr: Make backspace work while holding shift in the text editor
Closes #1409
This commit is contained in:
parent
388523a4ea
commit
2073793fcd
|
@ -642,7 +642,7 @@ void TextEditor::HandleKeyboardInputs() {
|
|||
SetSelection(wordStart, wordEnd);
|
||||
Backspace();
|
||||
}
|
||||
else if (!IsReadOnly() && !ctrl && !shift && !alt && ImGui::IsKeyPressed(ImGui::GetKeyIndex(ImGuiKey_Backspace)))
|
||||
else if (!IsReadOnly() && !ctrl && !alt && ImGui::IsKeyPressed(ImGui::GetKeyIndex(ImGuiKey_Backspace)))
|
||||
Backspace();
|
||||
else if (!IsReadOnly() && ctrl && !shift && !alt && ImGui::IsKeyPressed(ImGui::GetKeyIndex(ImGuiKey_Backspace))) {
|
||||
auto wordEnd = GetCursorPosition();
|
||||
|
|
Loading…
Reference in New Issue