[JW Lua] Custom tostring for PDK Framework classes
Robert Patterson
robert at robertgpatterson.com
Thu Nov 23 17:14:43 CET 2023
I have recently figured out that I can add a custom tostring() function for
PDK Framework classes. This means they'll automatically show the custom
contents in debugger windows and print statements. I've added them for
FCString (shows the LuaString)
FCFontInfo (shows name, size, efx)
FCCell (shows measure, staff)
FCPoint (shows x, y)
FCRange (shows start, length) (this is a new class in 0.68)
Does anyone have any other suggestions for custom tostring() functions?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://jwmusic.nu/pipermail/jwlua_jwmusic.nu/attachments/20231123/d2b590d5/attachment.htm>
More information about the JWLua
mailing list