EDIT: Okay, I see what the issue is. You have Text.Value("Var") with double quotes, not Text.Value('Var') with single quotes.
My original post, anyways:
Try:
str(Text.Value('var'))
or:
"" & Text.Value('var')
But curiously enough, even without doing that, I am seeing the text display okay. I'm using 0.99.5 here.
Copying/pasting my event as text:
MouseKeyboard: 14 On Left mouse button Clicked
TextSet text to Text 0 .Value('var')
TextAdd 1 to 'var'