Re: Wrong display of spelling mark when word is followed by a non-space

2011-01-28 Thread Stephan Witt
Am 28.01.2011 um 08:05 schrieb Stephan Witt: Am 28.01.2011 um 00:06 schrieb Jean-Marc Lasgouttes: Le 27 janv. 2011 à 21:49, Stephan Witt a écrit : Yes, it is. The innermost loop in method RowPainter::paintChars() stops at printable spaces. After returning and drawing the misspelled

Re: Wrong display of spelling mark when word is followed by a non-space

2011-01-28 Thread Jean-Marc Lasgouttes
Le 28 janv. 2011 à 14:22, Stephan Witt a écrit : I did it. I have to check the do not mark the word at cursor position feature again. It has shown the following patch is needed. Ok? Why not, but what does it fix (besides the cleanup)? You should update the documentation of

Re: Wrong display of spelling mark when word is followed by a non-space

2011-01-28 Thread Stephan Witt
Am 28.01.2011 um 15:17 schrieb Jean-Marc Lasgouttes: Le 28 janv. 2011 à 14:22, Stephan Witt a écrit : I did it. I have to check the do not mark the word at cursor position feature again. It has shown the following patch is needed. Ok? Why not, but what does it fix (besides the cleanup)?

Re: Wrong display of spelling mark when word is followed by a non-space

2011-01-28 Thread Jean-Marc Lasgouttes
Le 28 janv. 2011 à 15:36, Stephan Witt a écrit : Without patch the painting of the misspelled marker isn't correct anymore if you enter or leave a word at the end. The old isMisspelled check returned true for the position immediately after the word end. We fixed that with the previous

Re: Wrong display of spelling mark when word is followed by a non-space

2011-01-28 Thread Stephan Witt
Am 28.01.2011 um 08:05 schrieb Stephan Witt: > Am 28.01.2011 um 00:06 schrieb Jean-Marc Lasgouttes: > >> Le 27 janv. 2011 à 21:49, Stephan Witt a écrit : >>> Yes, it is. >>> The innermost loop in method RowPainter::paintChars() stops at printable >>> spaces. >>> After returning and drawing the

Re: Wrong display of spelling mark when word is followed by a non-space

2011-01-28 Thread Jean-Marc Lasgouttes
Le 28 janv. 2011 à 14:22, Stephan Witt a écrit : >> I did it. I have to check the "do not mark the word at cursor position" >> feature again. > > It has shown the following patch is needed. Ok? Why not, but what does it fix (besides the cleanup)? You should update the documentation of

Re: Wrong display of spelling mark when word is followed by a non-space

2011-01-28 Thread Stephan Witt
Am 28.01.2011 um 15:17 schrieb Jean-Marc Lasgouttes: > Le 28 janv. 2011 à 14:22, Stephan Witt a écrit : >>> I did it. I have to check the "do not mark the word at cursor position" >>> feature again. >> >> It has shown the following patch is needed. Ok? > > Why not, but what does it fix

Re: Wrong display of spelling mark when word is followed by a non-space

2011-01-28 Thread Jean-Marc Lasgouttes
Le 28 janv. 2011 à 15:36, Stephan Witt a écrit : > Without patch the painting of the misspelled marker isn't correct anymore if > you enter or leave a word at the end. > The old isMisspelled check returned true for the position immediately after > the word end. > We fixed that with the previous

Wrong display of spelling mark when word is followed by a non-space

2011-01-27 Thread Jean-Marc Lasgouttes
In a document with spell-as-you-type enabled, type LyX@. The spell marker will contain the @ character, whereas normal spell check will select LyX only. I looked a bit at the code but I do not know where to search. JMarc

Re: Wrong display of spelling mark when word is followed by a non-space

2011-01-27 Thread Stephan Witt
Am 27.01.2011 um 16:38 schrieb Jean-Marc Lasgouttes: In a document with spell-as-you-type enabled, type LyX@. The spell marker will contain the @ character, whereas normal spell check will select LyX only. I looked a bit at the code but I do not know where to search. It's my fault. I

Re: Wrong display of spelling mark when word is followed by a non-space

2011-01-27 Thread Jean-Marc Lasgouttes
Le 27/01/2011 17:12, Stephan Witt a écrit : Am 27.01.2011 um 16:38 schrieb Jean-Marc Lasgouttes: In a document with spell-as-you-type enabled, type LyX@. The spell marker will contain the @ character, whereas normal spell check will select LyX only. I looked a bit at the code but I do not

Re: Wrong display of spelling mark when word is followed by a non-space

2011-01-27 Thread Stephan Witt
Am 27.01.2011 um 17:38 schrieb Jean-Marc Lasgouttes: Le 27/01/2011 17:12, Stephan Witt a écrit : Am 27.01.2011 um 16:38 schrieb Jean-Marc Lasgouttes: In a document with spell-as-you-type enabled, type LyX@. The spell marker will contain the @ character, whereas normal spell check will

Re: Wrong display of spelling mark when word is followed by a non-space

2011-01-27 Thread Stephan Witt
Am 27.01.2011 um 17:38 schrieb Jean-Marc Lasgouttes: Le 27/01/2011 17:12, Stephan Witt a écrit : Am 27.01.2011 um 16:38 schrieb Jean-Marc Lasgouttes: In a document with spell-as-you-type enabled, type LyX@. The spell marker will contain the @ character, whereas normal spell check will

Re: Wrong display of spelling mark when word is followed by a non-space

2011-01-27 Thread Jean-Marc Lasgouttes
Le 27 janv. 2011 à 21:49, Stephan Witt a écrit : Yes, it is. The innermost loop in method RowPainter::paintChars() stops at printable spaces. After returning and drawing the misspelled marker the space is not painted but skipped. The normal spell checker stops at word boundaries anyway.

Re: Wrong display of spelling mark when word is followed by a non-space

2011-01-27 Thread Stephan Witt
Am 28.01.2011 um 00:06 schrieb Jean-Marc Lasgouttes: Le 27 janv. 2011 à 21:49, Stephan Witt a écrit : Yes, it is. The innermost loop in method RowPainter::paintChars() stops at printable spaces. After returning and drawing the misspelled marker the space is not painted but skipped. The

Wrong display of spelling mark when word is followed by a non-space

2011-01-27 Thread Jean-Marc Lasgouttes
In a document with spell-as-you-type enabled, type "LyX@". The spell marker will contain the "@" character, whereas normal spell check will select "LyX" only. I looked a bit at the code but I do not know where to search. JMarc

Re: Wrong display of spelling mark when word is followed by a non-space

2011-01-27 Thread Stephan Witt
Am 27.01.2011 um 16:38 schrieb Jean-Marc Lasgouttes: > In a document with spell-as-you-type enabled, type "LyX@". The spell marker > will contain the "@" character, whereas normal spell check will select "LyX" > only. > > I looked a bit at the code but I do not know where to search. It's my

Re: Wrong display of spelling mark when word is followed by a non-space

2011-01-27 Thread Jean-Marc Lasgouttes
Le 27/01/2011 17:12, Stephan Witt a écrit : Am 27.01.2011 um 16:38 schrieb Jean-Marc Lasgouttes: In a document with spell-as-you-type enabled, type "LyX@". The spell marker will contain the "@" character, whereas normal spell check will select "LyX" only. I looked a bit at the code but I do

Re: Wrong display of spelling mark when word is followed by a non-space

2011-01-27 Thread Stephan Witt
Am 27.01.2011 um 17:38 schrieb Jean-Marc Lasgouttes: > Le 27/01/2011 17:12, Stephan Witt a écrit : >> Am 27.01.2011 um 16:38 schrieb Jean-Marc Lasgouttes: >> >>> In a document with spell-as-you-type enabled, type "LyX@". The spell marker >>> will contain the "@" character, whereas normal spell

Re: Wrong display of spelling mark when word is followed by a non-space

2011-01-27 Thread Stephan Witt
Am 27.01.2011 um 17:38 schrieb Jean-Marc Lasgouttes: > Le 27/01/2011 17:12, Stephan Witt a écrit : >> Am 27.01.2011 um 16:38 schrieb Jean-Marc Lasgouttes: >> >>> In a document with spell-as-you-type enabled, type "LyX@". The spell marker >>> will contain the "@" character, whereas normal spell

Re: Wrong display of spelling mark when word is followed by a non-space

2011-01-27 Thread Jean-Marc Lasgouttes
Le 27 janv. 2011 à 21:49, Stephan Witt a écrit : > Yes, it is. > The innermost loop in method RowPainter::paintChars() stops at printable > spaces. > After returning and drawing the misspelled marker the space is not painted > but skipped. > > The normal spell checker stops at word boundaries

Re: Wrong display of spelling mark when word is followed by a non-space

2011-01-27 Thread Stephan Witt
Am 28.01.2011 um 00:06 schrieb Jean-Marc Lasgouttes: > Le 27 janv. 2011 à 21:49, Stephan Witt a écrit : >> Yes, it is. >> The innermost loop in method RowPainter::paintChars() stops at printable >> spaces. >> After returning and drawing the misspelled marker the space is not painted >> but