feat: Added bytes swapper tool

This commit is contained in:
WerWolv
2023-03-20 22:25:27 +01:00
parent 17c4e405a6
commit 0a0c0c0d07
10 changed files with 458 additions and 36 deletions

View File

@@ -41,8 +41,8 @@ namespace hex::plugin::builtin {
auto textState = ImGui::GetInputTextState(ImGui::GetID("##command_input"));
if (textState != nullptr) {
textState->Stb.cursor = this->m_commandBuffer.size();
textState->Stb.select_start = this->m_commandBuffer.size();
textState->Stb.cursor =
textState->Stb.select_start =
textState->Stb.select_end = this->m_commandBuffer.size();
}