Book a Demo

Author Topic: printwrapped doesn't recognise "#TAG:<tagname>#"  (Read 3729 times)

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
printwrapped doesn't recognise "#TAG:<tagname>#"
« on: January 28, 2016, 02:59:58 pm »
If you try to use   printwrapped("#TAG:condition#"); it will fail to run the substitution macro and will emit the text: #TAG:condition#

print("#TAG:condition#");  works fine, as documented

Reported,
Paolo
« Last Edit: January 28, 2016, 03:08:25 pm by Paolo F Cantoni »
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: printwrapped doesn't recognise "#TAG:<tagname>#"
« Reply #1 on: January 28, 2016, 03:18:56 pm »
Just tested and it did.

What build of EA are you on? There was a bug fixed recently where wrapping was done before substitution, which meant you could get similar behavior if the element became too narrow.

Edit: Just checked. The fix hasn't been released yet, so that's probably your issue.
« Last Edit: January 28, 2016, 03:26:23 pm by Simon M »

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: printwrapped doesn't recognise "#TAG:<tagname>#"
« Reply #2 on: January 29, 2016, 11:03:11 am »
Just tested and it did.

What build of EA are you on? There was a bug fixed recently where wrapping was done before substitution, which meant you could get similar behavior if the element became too narrow.

Edit: Just checked. The fix hasn't been released yet, so that's probably your issue.
For the record, it was build 1226.  And it's on a connector shapescript, specifically I'm setting the LeftBottomLabel.

 Paolo
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!