force hover eval in window on X axis only; store expr strings rather than expr trees in auto hook map

This commit is contained in:
Ryan Fleury
2025-05-09 12:51:02 -07:00
parent 345d5579d2
commit f38da420e9
3 changed files with 28 additions and 12 deletions
+7 -1
View File
@@ -669,7 +669,7 @@ struct E_AutoHookNode
E_AutoHookNode *pattern_order_next;
String8 type_string;
String8List type_pattern_parts;
E_Expr *expr;
String8 expr_string;
};
typedef struct E_AutoHookSlot E_AutoHookSlot;
@@ -884,6 +884,12 @@ struct E_UsedExprMap
//- rjf: type key -> auto hook expression list cache
typedef struct E_TypeAutoHookMatch E_TypeAutoHookMatch;
struct E_TypeAutoHookMatch
{
String8 expr;
};
typedef struct E_TypeAutoHookCacheNode E_TypeAutoHookCacheNode;
struct E_TypeAutoHookCacheNode
{