command coverage for target/bp modifications; allow full path matches when fuzzy searching through cfgs

This commit is contained in:
Ryan Fleury committed 2025-06-21 11:22:05 -07:00
1 parent 2595427189
commit 6dbc275129
8 files changed
+27 -12

No files matched your search

+7 -2
View File
@@ -5,7 +5,7 @@
//~ rjf: UI Widgets: Fancy Title Strings
internal DR_FStrList
rd_title_fstrs_from_cfg(Arena *arena, RD_Cfg *cfg)
rd_title_fstrs_from_cfg(Arena *arena, RD_Cfg *cfg, B32 include_extras)
{
DR_FStrList result = {0};
{
@@ -288,7 +288,12 @@ rd_title_fstrs_from_cfg(Arena *arena, RD_Cfg *cfg)
//- rjf: push text location
if(loc.file_path.size != 0)
{
String8 location_string = push_str8f(arena, "%S:%I64d:%I64d", str8_skip_last_slash(loc.file_path), loc.pt.line, loc.pt.column);
String8 path = loc.file_path;
if(!include_extras)
{
path = str8_skip_last_slash(loc.file_path);
}
String8 location_string = push_str8f(arena, "%S:%I64d:%I64d", path, loc.pt.line, loc.pt.column);
dr_fstrs_push_new(arena, &result, &params, location_string);
dr_fstrs_push_new(arena, &result, &params, str8_lit(" "));
start_secondary();