distinguish between expr strings and code strings in schemas; use normal autocompletion in meta-evaluation spaces only when editing expr strings, whereas code strings you want to look like code but do not generally refer to things that expressions can, e.g. it is a label

This commit is contained in:
Ryan Fleury
2025-05-06 14:42:27 -07:00
parent 686c666058
commit 848f144ab9
4 changed files with 53 additions and 38 deletions
+2 -1
View File
@@ -322,7 +322,8 @@ E_TYPE_ACCESS_FUNCTION_DEF(schema)
}
//- rjf: cfg members
else if(str8_match(child_schema->first->string, str8_lit("code_string"), 0))
else if(str8_match(child_schema->first->string, str8_lit("code_string"), 0) ||
str8_match(child_schema->first->string, str8_lit("expr_string"), 0))
{
child_type_key = e_type_key_cons_array(e_type_key_basic(E_TypeKind_U8), child->first->string.size, E_TypeFlag_IsCodeText);
}