mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-10-15 13:29:41 -07:00
sketch out first pass of autocompletion list-expr/replace-range/filter based on cursor-offset -> expression-node path
This commit is contained in:
1 parent
3a46e66efa
commit
aa9a00f754
5 files changed
+123
-29
No files matched your search
@@ -1689,14 +1689,10 @@ rd_info_from_watch_row_cell(Arena *arena, EV_Row *row, EV_StringFlags string_fla
|
||||
// do a code-string of ".member_name"
|
||||
String8 member_name = notable_expr->first->next->string;
|
||||
String8 fancy_name = {0};
|
||||
if(str8_match(member_name, str8_lit("$padding"), StringMatchFlag_RightSideSloppy))
|
||||
{
|
||||
fancy_name = str8_lit("Padding");
|
||||
}
|
||||
else if(cell->eval.space.kind == RD_EvalSpaceKind_MetaCfg ||
|
||||
cell->eval.space.kind == RD_EvalSpaceKind_MetaCtrlEntity ||
|
||||
cell->eval.space.kind == E_SpaceKind_File ||
|
||||
cell->eval.space.kind == E_SpaceKind_FileSystem)
|
||||
if(cell->eval.space.kind == RD_EvalSpaceKind_MetaCfg ||
|
||||
cell->eval.space.kind == RD_EvalSpaceKind_MetaCtrlEntity ||
|
||||
cell->eval.space.kind == E_SpaceKind_File ||
|
||||
cell->eval.space.kind == E_SpaceKind_FileSystem)
|
||||
{
|
||||
fancy_name = rd_display_from_code_name(member_name);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user