]> git.lyx.org Git - lyx.git/blobdiff - src/lyxfind.C
gtk sendto dialog
[lyx.git] / src / lyxfind.C
index 7592ca73445f4965fec7393ba2001c52638e4472..ee0f53dda032a15bf2e5a8480ccd156e8ea70a2d 100644 (file)
@@ -85,10 +85,10 @@ public:
 
                // if necessary, check whether string matches word
                if (mw) {
-                       if (pos > 0 && par.isWord(pos - 1))
+                       if (pos > 0 && par.isLetter(pos - 1))
                                return false;
                        if (pos + lyx::pos_type(size) < parsize
-                           && par.isWord(pos + size));
+                           && par.isLetter(pos + size));
                                return false;
                }