Fix handling of "BFC INVERTNEXT" with multiple inner whitespaces

Fix memory corruption involving document tools.

(0) -100 -30 -10 -2 +2 +10 +30 +100 tip

mercurial