dandv 0 Report post Posted August 18, 2004 1. Create a file with the following contents bugg 1 bug 2 2. View the file and search for 'g', Whole words. 3. Notice that NDN finds the g in 'bugg'. That is because the character before 'g' was another g. NDN will also find 'gg' in 'buggg 3'. This doesn't happen in the editor but happens in DNOSP's viewer :-> Hope this helps, Dan Dascalescu PS: is this code in fviewer.pas to blame, or is it a problem related to the Boyer-Moore table? if WholeWords and not (((BufPos = 1) or (Char(Buf^[BufPos-2+StPos]) in BreakChars)) and (Char(Buf^[BufPos+Length(What)-1+StPos]) in BreakChars)) then Share this post Link to post Share on other sites