Add "ignore case" toggle to find zone menu.

This commit is contained in:
Bartosz Taudul 2018-12-18 16:38:55 +01:00
parent a740074da6
commit 7fc03736f2
2 changed files with 6 additions and 1 deletions

View File

@ -4710,8 +4710,9 @@ void View::DrawFindZone()
return;
}
ImGui::PushItemWidth( -0.01f );
ImGui::InputText( "", m_findZone.pattern, 1024 );
ImGui::SameLine();
ImGui::PopItemWidth();
#ifdef TRACY_EXTENDED_FONT
const bool findClicked = ImGui::Button( ICON_FA_SEARCH " Find" );
@ -4728,6 +4729,9 @@ void View::DrawFindZone()
{
m_findZone.Reset();
}
ImGui::SameLine();
ImGui::Checkbox( "Ignore case", &m_findZone.ignoreCase );
if( findClicked )
{

View File

@ -287,6 +287,7 @@ private:
};
bool show = false;
bool ignoreCase = false;
std::vector<int32_t> match;
std::map<uint64_t, Group> groups;
size_t processed;