mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-25 14:04:25 +00:00
* stdlib-debug out of range fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23120 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
7889ccc0eb
commit
ab6ec965fd
@ -481,7 +481,7 @@ bool InsetText::completionSupported(Cursor const & cur) const
|
|||||||
return false;
|
return false;
|
||||||
Paragraph const & par = cur.paragraph();
|
Paragraph const & par = cur.paragraph();
|
||||||
return cur.pos() > 0
|
return cur.pos() > 0
|
||||||
&& !par.isLetter(cur.pos())
|
&& (cur.pos() >= par.size() || !par.isLetter(cur.pos()))
|
||||||
&& par.isLetter(cur.pos() - 1);
|
&& par.isLetter(cur.pos() - 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user