Use QSaveFile to save the file more safely

Fix handling of "BFC INVERTNEXT" with multiple inner whitespaces

Fix memory corruption involving document tools.

Update document tab label after saving

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

mercurial