mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-11-30 17:43:20 -08:00
improve labeled view titles, convert old watch-expression-gathering paths to using the per-watch-tab watches structure
This commit is contained in:
1 parent
5103252a1b
commit
19784ba476
2 files changed
+116
-70
No files matched your search
@@ -65,10 +65,6 @@ rd_title_fstrs_from_cfg(Arena *arena, RD_Cfg *cfg)
|
||||
{
|
||||
query_code_name = rd_singular_from_code_name_plural(query_name);
|
||||
collection_name = rd_display_plural_from_code_name(query_code_name);
|
||||
if(str8_match(collection_name, str8_lit("Watches"), 0))
|
||||
{
|
||||
collection_name = str8_lit("Watch");
|
||||
}
|
||||
}
|
||||
RD_IconKind query_icon_kind = rd_icon_kind_from_code_name(query_code_name);
|
||||
if(query_icon_kind != RD_IconKind_Null)
|
||||
@@ -117,8 +113,8 @@ rd_title_fstrs_from_cfg(Arena *arena, RD_Cfg *cfg)
|
||||
dr_fstrs_push_new(arena, &result, ¶ms, str8_lit(" "));
|
||||
}
|
||||
|
||||
//- rjf: push view title, if from window, and no file path
|
||||
if(is_within_window && file_path.size == 0 && collection_name.size == 0)
|
||||
//- rjf: push view title, if from window, and no file path, and no label
|
||||
if(is_within_window && file_path.size == 0 && collection_name.size == 0 && label_string.size == 0)
|
||||
{
|
||||
String8 view_display_name = rd_display_from_code_name(cfg->string);
|
||||
if(view_display_name.size != 0)
|
||||
|
||||
Reference in new issue
Block a user