commit (head): more 8794 (spellchecking)

From: Tomas Frydrych <tomasfrydrych_at_yahoo.co.uk>
Date: Sun May 08 2005 - 10:31:44 CEST

added fl_BlockLayout::isWordDelimiter() and
fl_BlockLayout::isSentenceSeparator() that take on board presence of
hidden text and revisions -- all spellchecking and grammar checking code
should use these instead of the basic UT_isWordDelimiter() and
UT_UCS4_isSentenceSepartor().

Moved some code I earlier placed in fl_BlockLayout::_doCheckWord() into
fl_BlockSpellIterator::nextWordForSpellChecking() to make the code more
efficient.

There are still couple of outstanding issue to fix: the squiggle is too
short when the squiggled word contains characters deleted through
revisions; deletion of characters in revisions mode does not trigger
respell.

files: fl_BlockLayout.h/fl_BlockLayout.cpp

Tomas
Received on Sun May 8 10:33:34 2005

This archive was generated by hypermail 2.1.8 : Sun May 08 2005 - 10:33:34 CEST