[Bug 160834] Unclear meaning of "Ignore pieces of length"

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Mon May 13 11:47:39 UTC 2024


https://bugs.documentfoundation.org/show_bug.cgi?id=160834

Heiko Tietze <heiko.tietze at documentfoundation.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |needsDevAdvice
                 CC|                            |noelgrandin at gmail.com

--- Comment #2 from Heiko Tietze <heiko.tietze at documentfoundation.org> ---
The property IgnorePieces in
officecfg/registry/schema/org/openoffice/Office/Writer.xcs has the description
"Specifies whether short pieces of matched text are ignored." 

IsIgnorePieces() aka m_bIgnorePieces defined in sw/inc/modcfg.hxx is used as
CmpOptions.nIgnoreLen = SW_MOD()->IsIgnorePieces() ? SW_MOD()->GetPieceLen() :
0; in sw/source/core/doc/doccomp.cxx ultimately applied in
CommonSubseq::IgnoreIsolatedPieces(). Quickly skimming over the code it seems
the option controls whether "isolated pieces" (characters) are ignored and up
to which length.

I guess the wording "pieces" is used because the option is not only applied in
case of (compare) "By Character" but also "By word".

Noel, you made a lot of changes in the source code. Please enlighten us.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Libreoffice-ux-advise mailing list