newlines in expression code for triggers

It appears that I can no longer enter newlines in the expression code for a trigger in AltUI. This is a problem when I use comments - there is nothing to end the comment when it starts with ‘–’. I’ve removed comments for the moment, but it would be nice to be able to use them again. I’m using functions to get more complex operations which is quite useful something like this:

(function ()
local something
some stuff with ‘new’
return true or false
) ()

I just can’t put a comment in the above anymore as the newlines seem to get removed when inserting the expression in the GUI.

This is with 2192. Older versions allowed this, but I’m not sure how far back.

[quote=“jswim788, post:1, topic:197559”]It appears that I can no longer enter newlines in the expression code for a trigger in AltUI. This is a problem when I use comments - there is nothing to end the comment when it starts with ‘–’. I’ve removed comments for the moment, but it would be nice to be able to use them again. I’m using functions to get more complex operations which is quite useful something like this:

(function ()
local something
some stuff with ‘new’
return true or false
) ()

I just can’t put a comment in the above anymore as the newlines seem to get removed when inserting the expression in the GUI.

This is with 2192. Older versions allowed this, but I’m not sure how far back.[/quote]

plz give me a quick screen shot so I see where this is hapening. thank you

screenshot attached

you can try the beta version on GitHub - amg0/ALTUI: Enhancement Interface for VERA home automation system. I made it a multiline field, resizable

Thanks - this is much improved.