I was get the following Asserts when I would
type space followed by an <Enter>
or left a trailing space at the end of a paragraph
**** (3) Assert ****
**** (3) !UT_isWordDelimiter( pBlockText[wordBeginning + wordLength] ) at
**** (3) Continue ? (y/n) [y] : y
DEBUG: Edit:InsertFmtMark [blockOffset 0]
**** (4) Assert ****
**** (4) eor <= pgb.getLength() at fl_BlockLayout.cpp:1547 ****
**** (4) Continue ? (y/n) [y] :
On Thu, Oct 21, 1999 at 09:58:29PM -0700, Paul Rohr wrote:
> Minimize spell activity during editing. Fixes #131, 133.
> M src/text/fmt/xp/fl_BlockLayout.cpp
> M src/text/fmt/xp/fl_BlockLayout.h
> M src/text/fmt/xp/fl_DocLayout.cpp
> M src/text/fmt/xp/fv_View.cpp
> M src/text/fmt/xp/fv_View.h
> OK, I finally went back in and finished up the code I started last spring
> for this. It seems to be working pretty smoothly, so I've checked it in.
> It could certainly use more testing, so hammer away at it!
> (Jeff's usually the one who gets to introduce destabilizing stuff just after
> we cut a release, but he's travelling this week, so I grabbed my chance.)
> Note that this change doesn't affect the existing dialog-driven or
> timer-driven spell logic at all. It only functions at edit time, replacing
> the old brain-damaged strategy (recheck the entire block for every
> keystroke) with a much more streamlined approach.
> PS: If things get really gruesome, just turn off the #define FASTSQUIGGLE
> down in the bowels of fl_BlockLayout.cpp, and you should be back to the poky
> old reliable logic. :-)