Post
by monte » Tue Jun 18, 2013 5:40 am
More thoughts on this... it would be fairly complicated to have fields update when you set the htmlStyles.. but fairly easy if the htmlStyles only applies to subsequent settings of the htmlText... I was thinking the latter... If the former you would need to work out if the style of a run matches one of those tags then change it... If we could work that out then perhaps the htmlText could return those tags rather than what they are translated to...
The idea that we could use the inheritance path and styles applied to these tags to change lots of fields in one hit is enticing...
Hmm... it might also be interesting to have a single property on a field that set it's styling to make use of the separate inheritance paths for plain text, h1, h2 etc without having to use htmlText...
LiveCode User Group on Facebook : http://FaceBook.com/groups/LiveCodeUsers/