On Thu, Dec 11, 2003 at 05:00:34PM +0000, Angus Leeming spake thusly: > if (name == "bibitem" || > name == "box" || > name == "branch" || > name == "charstyle" || > name == "environment" || > name == "ert" || > name == "float" || > name == "footnote" || > name == "marginal" || > name == "minipage" || > name == "note" || > name == "optarg" || > name == "tabular" || > name == "widefloat" || > name == "wrap")
Can't you make a static string array of this (or something), and .find()? > Sounds like a plan or should I look elsewhere for things to meddle > with? If you're confident about this... would be great. The lyx core is still a long way off from 'blind understandability' where you can add a small feature and expect it to work first try without mysterious side effects. Both Mathed and Insets are pretty close to this. (We still have the problem of sub- and superscript being busted for math) - Martin
pgp00000.pgp
Description: PGP signature