mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-10-14 04:49:41 -07:00
command coverage for target/bp modifications; allow full path matches when fuzzy searching through cfgs
This commit is contained in:
1 parent
2595427189
commit
6dbc275129
8 files changed
+27
-12
No files matched your search
@@ -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, ¶ms, location_string);
|
||||
dr_fstrs_push_new(arena, &result, ¶ms, str8_lit(" "));
|
||||
start_secondary();
|
||||
|
||||
Reference in new issue
Block a user