mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-10 10:41:50 +00:00
Add "ignore case" toggle to find zone menu.
This commit is contained in:
parent
a740074da6
commit
7fc03736f2
@ -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 )
|
||||
{
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user