CVS: ---------------------------------------------------------------------- CVS: Enter Log. Lines beginning with `CVS:' are removed automatically CVS: CVS: Committing in . CVS: CVS: Modified Files: CVS: src/text/fmt/xp/fl_BlockLayout.cpp CVS: src/text/fmt/xp/fl_Squiggles.cpp CVS: src/text/fmt/xp/fl_Squiggles.h CVS: ---------------------------------------------------------------------- fix bug 2933. AbiCrashes on edit header.
The code in fl_Squggles holds a cache of the length of the block. When text is deleted the PT gets reduces but fl_Squiggles attempts to do stuff before updating its cahces. It tries to acces peicetable locations outside the range of atual text. The solution was to check the document bounds and if the position of the last place in the document wis past the end of document adjust it to make it back to something sane. Cheers Martin