diff --git a/src/df/gfx/df_gfx.c b/src/df/gfx/df_gfx.c index ef0642cc..49cc18ad 100644 --- a/src/df/gfx/df_gfx.c +++ b/src/df/gfx/df_gfx.c @@ -6854,6 +6854,7 @@ df_single_line_eval_value_strings_from_eval(Arena *arena, DF_EvalVizStringFlags DF_Eval value_eval = df_value_mode_eval_from_eval(graph, rdbg, ctrl_ctx, eval); // rjf: get pointed-at info + TG_Kind type_kind = tg_kind_from_key(eval.type_key); TG_Key direct_type_key = tg_ptee_from_graph_raddbg_key(graph, rdbg, eval.type_key); TG_Kind direct_type_kind = tg_kind_from_key(direct_type_key); B32 direct_type_has_content = (direct_type_kind != TG_Kind_Null && direct_type_kind != TG_Kind_Void && value_eval.imm_u64 != 0); @@ -6897,7 +6898,8 @@ df_single_line_eval_value_strings_from_eval(Arena *arena, DF_EvalVizStringFlags } // rjf: special-case: symbols - else if((flags & DF_EvalVizStringFlag_ReadOnlyDisplayRules) && symbol_name.size != 0) + else if((flags & DF_EvalVizStringFlag_ReadOnlyDisplayRules) && symbol_name.size != 0 && + (type_kind == TG_Kind_Function || direct_type_kind == TG_Kind_Void)) { str8_list_push(arena, &list, symbol_name); space_taken += f_dim_from_tag_size_string(font, font_size, symbol_name).x; diff --git a/src/raddbg/raddbg.h b/src/raddbg/raddbg.h index c3eba688..1ead77da 100644 --- a/src/raddbg/raddbg.h +++ b/src/raddbg/raddbg.h @@ -12,8 +12,6 @@ // [ ] watch window reordering // [ ] standard way to filter // [ ] visualize remapped files (via path map) -// [ ] hovering truncated string for a short time -> tooltip with full wrapped -// string // [ ] theme lister -> fonts & font sizes // [ ] font lister // [ ] per-panel font size overrides @@ -33,8 +31,6 @@ // // [ ] it would be nice to have "show in explorer" for right click on source // file tab (opens explorer & selects the file) -// [x] it would be nice if Alt+o in source file would switch between .h and -// .c/cpp file (just look for same name in same folder) // // [ ] what's up with decimal number coloring where every group of 3 are in // different color? can I turn it off? And why sometimes digits in number @@ -227,8 +223,6 @@ // "save" option in the menus. // // [ ] @cleanup @feature double & triple click select in source views -// [ ] @feature hovering truncated text in UI for some amount of time -> show -// tooltip with full text // [ ] @feature disasm keyboard navigation & copy/paste // [ ] @feature debug info overrides (both path-based AND module-based) // [ ] configure tab size