26 Aug
2009
26 Aug
'09
5:48 p.m.
I found the fix. I needed to call: open->updateBoxModelInfoFromStyle(); close->updateBoxModelInfoFromStyle(); to update the box model from the style change for the open and close fencing. Then I needed to dirty the tree: markContainingBlocksForLayout(); open->firstChild()->setNeedsLayoutAndPrefWidthsRecalc(); close->firstChild()->setNeedsLayoutAndPrefWidthsRecalc(); It works perfectly! -- --Alex Milowski "The excellence of grammar as a guide is proportional to the paucity of the inflexions, i.e. to the degree of analysis effected by the language considered." Bertrand Russell in a footnote of Principles of Mathematics