Page 10 of 10
Re: the properties
Posted: Fri Jul 05, 2013 5:13 pm
by LCMark
I think that since the script property isn't included, including the password and passKey doesn't make sense... I think the script property (and associated password) is something that will just have to be handled in script when using 'the properties'.
Re: the properties
Posted: Fri Jul 05, 2013 11:18 pm
by monte
OK, btw I submitted a bug report on the padding docs
http://quality.runrev.com/show_bug.cgi?id=11030... was it originally meant to be a field property as well as a paragraph property? ... not sure why the docs go on about table cells... is it possible to set the padding on individual cells? It would seem to be useful if the paragraphs inherited the property from the field but could override it... so perhaps rather than fix the docs adding the appropriate get and set props would be better...
Re: the properties
Posted: Fri Jul 05, 2013 11:51 pm
by monte
A brief experiment with padding and it's easy change setprop to add it as a whole field property by passing it off to settextatts:
Code: Select all
case P_FLAGGED_RANGES:
case P_PADDING:
return settextatts(parid, p, ep, nil, 0, getpgsize(nil), false);
But the way it's implemented it just overrides the paragraph property for all paragraphs. It would be nicer if the paragraph inherited from the field if the padding wasn't set... any thoughts?