Opened 20 years ago
Closed 20 years ago
#1876 closed defect (fixed)
Spellchecker never checks the first word
Reported by: | Owned by: | levon | |
---|---|---|---|
Priority: | high | Milestone: | |
Component: | spell | Version: | 1.4.0cvs |
Severity: | normal | Keywords: | |
Cc: |
Description
The first word of a paragraph is never checked if the cursor is placed at the
beginning of that paragraph (just before the first letter at position 0).
As a side effect, when the cursor is placed at the beginning of the document,
the first word is never checked.
Attachments (1)
Change History (6)
by , 20 years ago
Attachment: | spell-pos0.diff added |
---|
comment:1 by , 20 years ago
attachments.description: | A patch to correct the problem → A patch to solve the problem |
---|
comment:2 by , 20 years ago
Hi, Félix-Antoine.
This patch is against LyX 1.4.x. I take it, therefore, that the bug is not
present in LyX 1.3.5?
I'm afraid that I don't understand your patch. Or rather, I do understand and
see what it does, but I don't really understand the original code. I'll think
some more about it and I'll probably take this to the lyx-devel list.
Many thanks for reporting the problem.
Angus
comment:3 by , 20 years ago
This problem is only affecting the CVS code (1.4.0). The problem is not present
in 1.3.5.
comment:4 by , 20 years ago
Subject: lyx-devel src/frontends/controllers/: ChangeLog ...
CVSROOT: /usr/local/lyx/cvsroot
Module name: lyx-devel
Repository: lyx-devel/src/frontends/controllers/
Changes by: leeming@… 05/05/04 00:24:43
Modified files:
lyx-devel/src/frontends/controllers/: ChangeLog
ControlSpellchecker.C
Log message:
Fix #1876. Thanks Alfredo. Thanks Felix-Antoine.
Bugs:
#1876
Patches:
http://www.lyx.org/cgi-bin/viewcvs.cgi/lyx-devel/src/frontends/controllers/ChangeLog?r1=1.477&r2=1.478
http://www.lyx.org/cgi-bin/viewcvs.cgi/lyx-devel/src/frontends/controllers/ControlSpellchecker.C?r1=1.81&r2=1.82
Complete Diff:
/usr/bin/cvs -f diff -kk -u -r 1.477 -r 1.478 src/frontends/controllers/ChangeLog
/usr/bin/cvs -f diff -kk -u -r 1.81 -r 1.82 src/frontends/controllers/ControlSpellchecker.C
comment:5 by , 20 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Reported as fixed by Félix-Antoine.
A patch to solve the problem