SugarCube allows you to write $var.prop in the story text (and it allows a few minor variations of that).
T3LT will highlight the $var but not the .prop. This is not terrible, but $var.prop_name is highlighted wrong. _name is highlighted as a temporary var, but it's part of the prop name prop_name.
(Note: if there is some_word by itself, without $var. in front of it, then highlighting _word is ok, because SugarCube will substitute the temp var _word, but only if it is set. T3LT doesn't have a simple way of knowing if _word is actually set, so I think it's fine to mark it as "could be a variable". Making this more precise is a hard problem.)
SugarCube allows you to write
$var.prop
in the story text (and it allows a few minor variations of that).T3LT will highlight the
$var
but not the.prop
. This is not terrible, but$var.prop_name
is highlighted wrong._name
is highlighted as a temporary var, but it's part of the prop nameprop_name
.(Note: if there is
some_word
by itself, without$var.
in front of it, then highlighting_word
is ok, because SugarCube will substitute the temp var_word
, but only if it is set. T3LT doesn't have a simple way of knowing if_word
is actually set, so I think it's fine to mark it as "could be a variable". Making this more precise is a hard problem.)