mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-10-14 04:49:41 -07:00
move from fixed flags to list of tags (matching command list evaluation names) for context menu command filtering; pull out code for filling command regs from contextual expressions; add mechanism for contextualizing a whole query, so that we can spawn command listers within the context of some other evaluation, which we'd like to fill registers with (e.g. right-clicking a module -> spawn a module command list, contextualized by the module evaluation itself
This commit is contained in:
1 parent
1577ea5693
commit
f7ba4b2ebe
10 files changed
+614
-515
No files matched your search
@@ -88,11 +88,6 @@ enum
|
||||
{
|
||||
RD_CmdKindFlag_ListInUI = (1<<0),
|
||||
RD_CmdKindFlag_ListInIPCDocs = (1<<1),
|
||||
RD_CmdKindFlag_ListInTab = (1<<2),
|
||||
RD_CmdKindFlag_ListInTextPt = (1<<3),
|
||||
RD_CmdKindFlag_ListInTextRng = (1<<4),
|
||||
RD_CmdKindFlag_ListInMemoryEval = (1<<5),
|
||||
RD_CmdKindFlag_ListInMemory = (1<<6),
|
||||
};
|
||||
|
||||
////////////////////////////////
|
||||
@@ -842,6 +837,7 @@ internal RD_Regs *rd_push_regs_(RD_Regs *regs);
|
||||
internal RD_Regs *rd_pop_regs(void);
|
||||
#define RD_RegsScope(...) DeferLoop(rd_push_regs(__VA_ARGS__), rd_pop_regs())
|
||||
internal void rd_regs_fill_slot_from_string(RD_RegSlot slot, String8 query_expr, String8 string);
|
||||
internal RD_RegSlot rd_regs_fill_slot_from_ctx_eval(E_Eval eval);
|
||||
|
||||
////////////////////////////////
|
||||
//~ rjf: Commands
|
||||
|
||||
Reference in new issue
Block a user