Neil Hodgson wrote:
Robert Roessler:
So this could be done like other Scintilla calls where a value AND a
bool flag are passed in... in the case of SCI_SETSELBACK, a false
first param means to ignore the colour argument.
That *would* be more Scintilla-like, I suppose. ;)
I regret defining some features that way as that makes it harder to
produce nice wrappers automatically.
Well, now that you say that, I *did* find some of the calls like that
a bit weird... ;)
OK, so what would you favor as an alternative to a magic value (named
or otherwise), and presumably without an additional API call just for
enabling/disabling zoom?
BTW, the "other" param as a bool should work just fine, as I am sure
everyone has followed recommended and sensible practice and set unused
params to 0... so the non-zero/true case could mean "lock zoom".
Robert Roessler
[EMAIL PROTECTED]
http://www.rftp.com
_______________________________________________
Scintilla-interest mailing list
[email protected]
http://mailman.lyra.org/mailman/listinfo/scintilla-interest