On 11/28/12 1:14 PM, Roger Guay wrote:
Jacqueline,

Thanks to you, I'm just beginning to appreciate how wonderful these
new features are. Has anyone written a demo stack of this stuff?

Like Pete said, it's really pretty simple. I did say something about creating a demo some day but things are piling up here and it won't be soon. And to be honest I'm not sure a demo is even necessary since the principle is so generic. What used to be field-level properties can now be line-level properties.

I haven't explored the array syntax yet, but it's just a way to set a bunch of properties all at once. You don't need it. Basically all you need to do is script in some line number(s) and the property will apply to only those lines instead of the whole field.

One of the nicest new things is the separation of text font from the other text properties. This is how MetaCard originally worked but it was removed early on and I've missed it ever since. When it got removed, changing the font also wiped out all the other text properties. We used to be able to set the textsize of a stack without setting the font, and the stack would take on the system font but use the assigned text size. Now we can do that again. Ditto for styles: you can set the textstyle of a field (or some of its lines) to "bold" without setting a textfont and the text will always be bold regardless of what font is inherited. Or you can change the font, and the style and size will still be what they were set to before. It's all been separated into unique bits of data and it makes things much easier.

The only thing that broke was a shortcut I routinely used to wipe out all text settings. I used to change the textfont in order to remove all text properties. That won't work now, but it's a small thing and the tradeoff is worth it.

--
Jacqueline Landman Gay         |     [email protected]
HyperActive Software           |     http://www.hyperactivesw.com

_______________________________________________
use-livecode mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to