fix mouse-hover-in-source-evaluation (off -> range) rules, to correctly enclose more expressions

This commit is contained in:
Ryan Fleury
2026-05-13 11:55:52 -07:00
parent a1778421c9
commit 9eecffad78
2 changed files with 30 additions and 2 deletions
+1 -1
View File
@@ -2600,7 +2600,7 @@ rd_code_slice(RD_CodeSliceParams *params, TxtPt *cursor, TxtPt *mark, S64 *prefe
//////////////////////////////
//- rjf: hover eval
//
if(!ui_dragging(text_container_sig) && text_container_sig.event_flags == 0 && mouse_expr.size != 0)
if(!ui_dragging(text_container_sig) && text_container_sig.event_flags == 0 && mouse_expr.size != 0) E_ParentKey(e_key_zero())
{
E_Eval eval = e_eval_from_string(mouse_expr);
B32 eval_implicit_hover = (eval.irtree.mode != E_Mode_Null &&