Hi!
Please, append next block to code
src/contribs-lib/CLucene/highlighter/Highlighter.cpp
Highlighter::getBestTextFragments
Line: 315-317
// append trailing ')' and '"' to snippet
while (text[lastEndOffset] == _T(')') || text[lastEndOffset] ==
_T('"'))
{
writeTo->append(text + lastEndOffset, 1);
++lastEndOffset;
}
// append text after end of last token
//if (lastEndOffset < (int32_t)_tcslen(text))
//newText->append(text+lastEndOffset);
------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3.
Spend less time writing and rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
CLucene-developers mailing list
CLucene-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/clucene-developers