Fix #12069: Broken search

Do not count ignored characters as matching
This commit is contained in:
Kornel Benko 2021-01-14 14:33:55 +01:00
parent de6092cb6a
commit 9bdd0b31db

View File

@ -4393,6 +4393,7 @@ int Paragraph::find(docstring const & str, bool cs, bool mw,
if (pos == parsize - 1)
break;
pos++;
--i;
continue;
}
// Ignore "invisible" letters such as ligature breaks