Hi Max,
I'm finishing up LPP-3569. The richinputtext code
(/lps/components/extensions/views/richinputtext.lzl) needs to access the
__LZtextclip object in the sprite. There are two choices but I'm not sure
which one is the best practice.
Option 1:
richinputtext.prototype.replaceText = function (s, e, txt) {
this.sprite.__LZtextclip.replaceText(s,e,txt);
}
Option 2:
richinputtext.prototype.replaceText = function (s, e, txt) {
this.getMCRef().replaceText(s,e,txt);
}
LzText.getMCRef() is listed as private, but does a better job of hiding the
details. The existing version of richinputtext accesses __LZtextclip in the
view.
Thanks!
Phil