mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-23 13:31:49 +00:00
thinko.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37936 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
266399ef83
commit
101cabc355
@ -3343,11 +3343,11 @@ int Paragraph::find(docstring const & str, bool cs, bool mw,
|
||||
int const strsize = str.length();
|
||||
int i = 0;
|
||||
pos_type const parsize = d->text_.size();
|
||||
odocstringstream os;
|
||||
for (i = 0; i < strsize && pos < parsize; ++i, ++pos) {
|
||||
// Ignore "invisible" letters such as ligature breaks
|
||||
// and hyphenation chars while searching
|
||||
while (pos < parsize - 1 && isInset(pos)) {
|
||||
odocstringstream os;
|
||||
getInset(pos)->toString(os);
|
||||
if (!getInset(pos)->isLetter() || !os.str().empty())
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user