feat: Added find view reset button
This commit is contained in:
parent
bda4aadc54
commit
5b00c8ee08
@ -524,6 +524,16 @@ namespace hex::plugin::builtin {
|
||||
|
||||
ImGui::SameLine();
|
||||
ImGui::TextFormatted("hex.builtin.view.find.search.entries"_lang, this->m_foundOccurrences[provider].size());
|
||||
|
||||
ImGui::BeginDisabled(this->m_foundOccurrences[provider].empty());
|
||||
{
|
||||
if (ImGui::Button("hex.builtin.view.find.search.reset"_lang)) {
|
||||
this->m_foundOccurrences[provider].clear();
|
||||
this->m_sortedOccurrences[provider].clear();
|
||||
this->m_occurrenceTree[provider].clear();
|
||||
}
|
||||
}
|
||||
ImGui::EndDisabled();
|
||||
}
|
||||
ImGui::EndDisabled();
|
||||
|
||||
|
@ -421,6 +421,7 @@ namespace hex::plugin::builtin {
|
||||
{ "hex.builtin.view.find.context.copy", "Wert Kopieren" },
|
||||
{ "hex.builtin.view.find.context.copy_demangle", "Demangled Wert Kopieren" },
|
||||
{ "hex.builtin.view.find.search.entries", "{} Einträge gefunden" },
|
||||
{ "hex.builtin.view.find.search.reset", "Zurücksetzen" },
|
||||
|
||||
{ "hex.builtin.command.calc.desc", "Rechner" },
|
||||
{ "hex.builtin.command.cmd.desc", "Command" },
|
||||
|
@ -427,6 +427,7 @@ namespace hex::plugin::builtin {
|
||||
{ "hex.builtin.view.find.context.copy", "Copy Value" },
|
||||
{ "hex.builtin.view.find.context.copy_demangle", "Copy Demangled Value" },
|
||||
{ "hex.builtin.view.find.search.entries", "{} entries found" },
|
||||
{ "hex.builtin.view.find.search.reset", "Reset" },
|
||||
|
||||
|
||||
{ "hex.builtin.command.calc.desc", "Calculator" },
|
||||
|
@ -426,6 +426,7 @@ namespace hex::plugin::builtin {
|
||||
// { "hex.builtin.view.find.context.copy", "Copy Value" },
|
||||
// { "hex.builtin.view.find.context.copy_demangle", "Copy Demangled Value" },
|
||||
// { "hex.builtin.view.find.search.entries", "{} entries found" },
|
||||
// { "hex.builtin.view.find.search.reset", "Reset" },
|
||||
|
||||
{ "hex.builtin.command.calc.desc", "Calcolatrice" },
|
||||
{ "hex.builtin.command.cmd.desc", "Comando" },
|
||||
|
@ -429,6 +429,7 @@ namespace hex::plugin::builtin {
|
||||
{ "hex.builtin.view.find.context.copy", "値をコピー" },
|
||||
// { "hex.builtin.view.find.context.copy_demangle", "Copy Demangled Value" },
|
||||
{ "hex.builtin.view.find.search.entries", "一致件数: {}" },
|
||||
// { "hex.builtin.view.find.search.reset", "Reset" },
|
||||
|
||||
{ "hex.builtin.command.calc.desc", "電卓" },
|
||||
{ "hex.builtin.command.cmd.desc", "コマンド" },
|
||||
|
@ -426,6 +426,7 @@ namespace hex::plugin::builtin {
|
||||
{ "hex.builtin.view.find.context.copy", "값 복사" },
|
||||
{ "hex.builtin.view.find.context.copy_demangle", "Copy Demangled Value" },
|
||||
{ "hex.builtin.view.find.search.entries", "{} 개 검색됨" },
|
||||
// { "hex.builtin.view.find.search.reset", "Reset" },
|
||||
|
||||
|
||||
{ "hex.builtin.command.calc.desc", "계산기" },
|
||||
|
@ -424,6 +424,7 @@ namespace hex::plugin::builtin {
|
||||
// { "hex.builtin.view.find.context.copy", "Copy Value" },
|
||||
// { "hex.builtin.view.find.context.copy_demangle", "Copy Demangled Value" },
|
||||
// { "hex.builtin.view.find.search.entries", "{} entries found" },
|
||||
// { "hex.builtin.view.find.search.reset", "Reset" },
|
||||
|
||||
{ "hex.builtin.command.calc.desc", "Calculadora" },
|
||||
{ "hex.builtin.command.cmd.desc", "Comando" },
|
||||
|
@ -427,6 +427,7 @@ namespace hex::plugin::builtin {
|
||||
{ "hex.builtin.view.find.context.copy", "复制值" },
|
||||
{ "hex.builtin.view.find.context.copy_demangle", "复制值的还原名" },
|
||||
{ "hex.builtin.view.find.search.entries", "{} 个结果" },
|
||||
// { "hex.builtin.view.find.search.reset", "Reset" },
|
||||
|
||||
{ "hex.builtin.command.calc.desc", "计算器" },
|
||||
{ "hex.builtin.command.cmd.desc", "指令" },
|
||||
|
@ -425,6 +425,7 @@ namespace hex::plugin::builtin {
|
||||
// { "hex.builtin.view.find.context.copy", "Copy Value" },
|
||||
// { "hex.builtin.view.find.context.copy_demangle", "Copy Demangled Value" },
|
||||
// { "hex.builtin.view.find.search.entries", "{} entries found" },
|
||||
// { "hex.builtin.view.find.search.reset", "Reset" },
|
||||
|
||||
{ "hex.builtin.command.calc.desc", "計算機" },
|
||||
{ "hex.builtin.command.cmd.desc", "命令" },
|
||||
|
Loading…
Reference in New Issue
Block a user