mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-22 16:37:28 +00:00
Fix bug 1876. Thanks Alfredo. Thanks Felix-Antoine.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9902 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
4db573abbe
commit
026cce7c1e
@ -1,3 +1,11 @@
|
||||
2005-05-03 Alfredo Braunstein <abraunst@lyx.org>
|
||||
|
||||
* ControlSpellchecker.C (check): increment 'start', the beginning
|
||||
of the next word to spell check only if cur.pos() != 0.
|
||||
This fixes bug 1876 in which LyX will not check the very first word
|
||||
of the document if the cursor is placed at the beginning of that
|
||||
paragraph (just before the first letter at position 0).
|
||||
|
||||
2005-05-02 Angus Leeming <leeming@lyx.org>
|
||||
|
||||
* ControlSpellchecker.C: clean-up the creation of the wrappers to
|
||||
|
@ -198,7 +198,7 @@ void ControlSpellchecker::check()
|
||||
for (total = start; it; it.forwardPos())
|
||||
++total;
|
||||
|
||||
for (; cur && isLetter(cur); cur.forwardPos())
|
||||
for (; cur && cur.pos() && isLetter(cur); cur.forwardPos())
|
||||
++start;
|
||||
|
||||
BufferParams & bufferparams = kernel().buffer().params();
|
||||
|
Loading…
x
Reference in New Issue
Block a user