Re: [PATCH] Re: Spell checking

2015-12-02 Thread Jean-Marc Lasgouttes
Le 02/12/2015 00:17, Scott Kostyshak a écrit : On Mon, Nov 30, 2015 at 10:32:49AM +0100, Jean-Marc Lasgouttes wrote: Le 27/11/2015 15:08, Kornel Benko a écrit : It is OK. OK, I was not sure about the meaning of the smiley. Yes. We might need to tweak it eventually to get it "perfect" but

Re: [PATCH] Re: Spell checking

2015-12-01 Thread Scott Kostyshak
On Mon, Nov 30, 2015 at 10:32:49AM +0100, Jean-Marc Lasgouttes wrote: > Le 27/11/2015 15:08, Kornel Benko a écrit : > >It is OK. > > OK, I was not sure about the meaning of the smiley. > > Scott, OK? Yes. We might need to tweak it eventually to get it "perfect" but it seems like a clear improve

Re: [PATCH] Re: Spell checking

2015-12-01 Thread Jean-Marc Lasgouttes
Le 27/11/2015 15:08, Kornel Benko a écrit : Am Freitag, 27. November 2015 um 13:23:04, schrieb Jean-Marc Lasgouttes Le 27/11/2015 12:28, Kornel Benko a écrit : Back to this problem. What about the following patch? JMarc Yes, that is easy to notice :) Do you mean that it is OK, or too lar

Re: [PATCH] Re: Spell checking

2015-11-27 Thread Kornel Benko
Am Freitag, 27. November 2015 um 13:23:04, schrieb Jean-Marc Lasgouttes > Le 27/11/2015 12:28, Kornel Benko a écrit : > >> Back to this problem. What about the following patch? > >> > >> JMarc > > > > Yes, that is easy to notice :) > > Do you mean that it is OK, or too large? > > JMarc It is O

Re: [PATCH] Re: Spell checking

2015-11-27 Thread Jean-Marc Lasgouttes
Le 27/11/2015 12:28, Kornel Benko a écrit : Back to this problem. What about the following patch? JMarc Yes, that is easy to notice :) Do you mean that it is OK, or too large? JMarc

Re: [PATCH] Re: Spell checking

2015-11-27 Thread Kornel Benko
Am Freitag, 27. November 2015 um 11:41:49, schrieb Jean-Marc Lasgouttes > Le 14/04/2015 17:08, Kornel Benko a écrit : > >>> You are right, I prefer a little thicker lines. > >>> The dashed line does not respect the used font size, only the preferences > >>> zoom. > >> > >> The one I propose resp

[PATCH] Re: Spell checking

2015-11-27 Thread Jean-Marc Lasgouttes
Le 14/04/2015 17:08, Kornel Benko a écrit : You are right, I prefer a little thicker lines. The dashed line does not respect the used font size, only the preferences zoom. The one I propose respects the font size, I find it better. JMarc Maybe my eyes are not the best, but look at this snaps

Re: Spell checking

2015-09-10 Thread Jean-Marc Lasgouttes
Le 10/09/15 17:58, Kornel Benko a écrit : Am Donnerstag, 10. September 2015 um 17:11:48, schrieb Jean-Marc Lasgouttes Le 10/09/15 16:46, Kornel Benko a écrit : Can you compare with what LibreOffice (for example) does in the same case? Is it a problem with Qt or something more general? Sur

Re: Spell checking

2015-09-10 Thread Kornel Benko
Am Donnerstag, 10. September 2015 um 17:11:48, schrieb Jean-Marc Lasgouttes > > Le 10/09/15 16:46, Kornel Benko a écrit : > >> Can you compare with what LibreOffice (for example) does in the same > >> case? Is it a problem with Qt or something more general? > >> > > > > Sure, but libreoffice use

Re: Spell checking

2015-09-10 Thread Jean-Marc Lasgouttes
Le 10/09/15 16:46, Kornel Benko a écrit : Can you compare with what LibreOffice (for example) does in the same case? Is it a problem with Qt or something more general? Sure, but libreoffice uses waved underline. (Don't know, if that can be changed). The size does not change with the font si

Re: Spell checking

2015-09-10 Thread Kornel Benko
Am Donnerstag, 10. September 2015 um 16:14:35, schrieb Jean-Marc Lasgouttes > > Le 08/09/15 17:22, Kornel Benko a écrit : > > Am Dienstag, 8. September 2015 um 16:55:48, schrieb Jean-Marc Lasgouttes > > > >> Le 08/09/2015 16:16, Kornel Benko a écrit : > >>> Works as proposed. Still I would like

Re: Spell checking

2015-09-10 Thread Jean-Marc Lasgouttes
Le 08/09/15 17:22, Kornel Benko a écrit : Am Dienstag, 8. September 2015 um 16:55:48, schrieb Jean-Marc Lasgouttes Le 08/09/2015 16:16, Kornel Benko a écrit : Works as proposed. Still I would like to be able to set minimal size. Do you mean that plain underlines are not visible enough for

Re: Spell checking

2015-09-08 Thread Kornel Benko
Am Dienstag, 8. September 2015 um 16:55:48, schrieb Jean-Marc Lasgouttes > Le 08/09/2015 16:16, Kornel Benko a écrit : > > Works as proposed. Still I would like to be able to set minimal size. > > Do you mean that plain underlines are not visible enough for you? Yes, that's what I meant. Making

Re: Spell checking

2015-09-08 Thread Jean-Marc Lasgouttes
Le 08/09/2015 16:16, Kornel Benko a écrit : Works as proposed. Still I would like to be able to set minimal size. Do you mean that plain underlines are not visible enough for you? I'd like to avoid adding yet another lyxrc setting for that. We could decide that spell lines should be at least

Re: Spell checking

2015-09-08 Thread Jean-Marc Lasgouttes
Le 08/09/2015 16:16, Kornel Benko a écrit : Am Dienstag, 8. September 2015 um 10:49:00, schrieb Jean-Marc Lasgouttes Le 08/09/2015 04:21, Scott Kostyshak a écrit : Is this still a pending issue? What is the width proposed by Qt determined by and what is it meant for? I pushed the part that

Re: Spell checking

2015-09-08 Thread Kornel Benko
Am Dienstag, 8. September 2015 um 10:49:00, schrieb Jean-Marc Lasgouttes > Le 08/09/2015 04:21, Scott Kostyshak a écrit : > > Is this still a pending issue? > > What is the width proposed by Qt determined by and what is it meant for? > > I pushed the part that deals with underline, double underl

Re: Spell checking

2015-09-08 Thread Jean-Marc Lasgouttes
Le 08/09/2015 04:21, Scott Kostyshak a écrit : Is this still a pending issue? What is the width proposed by Qt determined by and what is it meant for? I pushed the part that deals with underline, double underline and strikeout. Let's see for now how this works. JMarc

Re: Spell checking

2015-09-08 Thread Jean-Marc Lasgouttes
Le 08/09/2015 04:21, Scott Kostyshak a écrit : The problem is that we do not have a reliable value for DPI as I understand it. Is this still a pending issue? Yes. What is the width proposed by Qt determined by and what is it meant for? It is the width for underlines. It turns out that a w

Re: Spell checking

2015-09-07 Thread Scott Kostyshak
On Tue, Jul 14, 2015 at 3:46 PM, Jean-Marc Lasgouttes wrote: > Le 14/07/2015 18:34, Kornel Benko a écrit : >>> >>> So I have landed a patch that makes line width an integer. Now we have >>> to decide whether we want to use the width proposed by Qt as my earlier >>> patch did. And what to do to avo

Re: Spell checking

2015-07-14 Thread Jean-Marc Lasgouttes
Le 14/07/2015 18:34, Kornel Benko a écrit : So I have landed a patch that makes line width an integer. Now we have to decide whether we want to use the width proposed by Qt as my earlier patch did. And what to do to avoid too thin lines. Could it be that dotted lines should be at least 2 pixel w

Re: Spell checking

2015-07-14 Thread Kornel Benko
Am Dienstag, 14. Juli 2015 um 17:56:26, schrieb Jean-Marc Lasgouttes > > Le 26/05/2015 12:32, Scott Kostyshak a écrit : > >> Note that a good feature of this patch is the the dashed lines are less > >> ugly > >> than with current code, because line width is an integer. We have to do at > >> lea

Re: Spell checking

2015-07-14 Thread Jean-Marc Lasgouttes
Le 26/05/2015 12:32, Scott Kostyshak a écrit : Note that a good feature of this patch is the the dashed lines are less ugly than with current code, because line width is an integer. We have to do at least that IMO. Indeed that is nice. So I have landed a patch that makes line width an intege

Re: Spell checking

2015-05-26 Thread Scott Kostyshak
On Tue, May 26, 2015 at 5:53 AM, Jean-Marc Lasgouttes wrote: > Le 21/05/2015 15:56, Scott Kostyshak a écrit : >> >> On Thu, Apr 16, 2015 at 3:42 AM, Kornel Benko wrote: >>> >>> Am Mittwoch, 15. April 2015 um 15:53:39, schrieb Jean-Marc Lasgouttes >>> >> >> >>> And you are right, 1 size more and

Re: Spell checking

2015-05-26 Thread Jean-Marc Lasgouttes
Le 21/05/2015 15:56, Scott Kostyshak a écrit : On Thu, Apr 16, 2015 at 3:42 AM, Kornel Benko wrote: Am Mittwoch, 15. April 2015 um 15:53:39, schrieb Jean-Marc Lasgouttes And you are right, 1 size more and I see the bigger underlines too. Comparing with your screenshot. But it is way too sm

Re: Spell checking

2015-05-21 Thread Scott Kostyshak
On Thu, Apr 16, 2015 at 3:42 AM, Kornel Benko wrote: > Am Mittwoch, 15. April 2015 um 15:53:39, schrieb Jean-Marc Lasgouttes > > And you are right, 1 size more and I see the bigger underlines too. > Comparing with your screenshot. But it is way too small and too late on my > screen. I have be

Re: Spell checking

2015-04-16 Thread Kornel Benko
Am Mittwoch, 15. April 2015 um 15:53:39, schrieb Jean-Marc Lasgouttes > Le 14/04/2015 17:08, Kornel Benko a écrit : > >> The one I p[ropose respects the font size, I find it better. > >> > >> JMarc > > > > Maybe my eyes are not the best, but look at this snapshot. > > > > Is this with my patch, o

Re: Spell checking

2015-04-15 Thread Jean-Marc Lasgouttes
Le 14/04/2015 17:08, Kornel Benko a écrit : Maybe my eyes are not the best, but look at this snapshot. Here is a new patch that uses Qt information to draw (double) underlines, strikeouts and spell-check line width. See the LyX 2.1 file demo file to compare before/after. One unexpected cons

Re: Spell checking

2015-04-15 Thread Jean-Marc Lasgouttes
Le 14/04/2015 17:08, Kornel Benko a écrit : The one I p[ropose respects the font size, I find it better. JMarc Maybe my eyes are not the best, but look at this snapshot. Is this with my patch, or without. Here are my before/after images. JMarc

Re: Spell checking

2015-04-14 Thread Kornel Benko
Am Dienstag, 14. April 2015 um 16:55:46, schrieb Jean-Marc Lasgouttes > Le 14/04/2015 16:45, Kornel Benko a écrit : > > Am Dienstag, 14. April 2015 um 16:11:00, schrieb Jean-Marc Lasgouttes > > > >> Le 14/04/2015 15:09, Kornel Benko a écrit : > Don't know, how big they seem on your screen.

Re: Spell checking

2015-04-14 Thread Jean-Marc Lasgouttes
Le 14/04/2015 16:45, Kornel Benko a écrit : Am Dienstag, 14. April 2015 um 16:11:00, schrieb Jean-Marc Lasgouttes Le 14/04/2015 15:09, Kornel Benko a écrit : Don't know, how big they seem on your screen. Here the letter 'A' is about 3mm high. And here snapshot without the patch. On shorte

Re: Spell checking

2015-04-14 Thread Kornel Benko
Am Dienstag, 14. April 2015 um 16:11:00, schrieb Jean-Marc Lasgouttes > Le 14/04/2015 15:09, Kornel Benko a écrit : > >> Don't know, how big they seem on your screen. Here the letter 'A' is about > >> 3mm high. > >> > > > > And here snapshot without the patch. On shorter words it is nearly > >

Re: Spell checking

2015-04-14 Thread Jean-Marc Lasgouttes
Le 14/04/2015 15:09, Kornel Benko a écrit : Don't know, how big they seem on your screen. Here the letter 'A' is about 3mm high. And here snapshot without the patch. On shorter words it is nearly invisible. What about this proof-of-concept patch? I suspect you will find it nearly invisible

Re: Spell checking

2015-04-14 Thread Kornel Benko
Am Dienstag, 14. April 2015 um 12:03:02, schrieb Kornel Benko > Am Dienstag, 14. April 2015 um 11:38:39, schrieb Jürgen Spitzmüller > > > 2015-04-14 11:32 GMT+02:00 Kornel Benko: > > > > > This I have already a long time. > > > > > > In continuous spellchecking: > > > The dashed line indicating

Re: Spell checking

2015-04-14 Thread Kornel Benko
Am Dienstag, 14. April 2015 um 12:46:13, schrieb Kornel Benko > Am Dienstag, 14. April 2015 um 12:33:45, schrieb Jürgen Spitzmüller > > > 2015-04-14 12:03 GMT+02:00 Kornel Benko: > > > > > > > > Don't know, how big they seem on your screen. > > > > > > > As in the screen shot (with 100% Zoom o

Re: Spell checking

2015-04-14 Thread Kornel Benko
Am Dienstag, 14. April 2015 um 12:33:45, schrieb Jürgen Spitzmüller > 2015-04-14 12:03 GMT+02:00 Kornel Benko: > > > > > Don't know, how big they seem on your screen. > > > > As in the screen shot (with 100% Zoom of the image). > > Jürgen > > > > BTW, I don’t understand the intended logic

Re: Spell checking

2015-04-14 Thread Jürgen Spitzmüller
2015-04-14 12:03 GMT+02:00 Kornel Benko: > > Don't know, how big they seem on your screen. > As in the screen shot (with 100% Zoom of the image). Jürgen > > Kornel

Re: Spell checking

2015-04-14 Thread Kornel Benko
Am Dienstag, 14. April 2015 um 11:45:52, schrieb Jürgen Spitzmüller > 2015-04-14 11:38 GMT+02:00 Jürgen Spitzmüller: > > > Can you post a screenshot? Here, the line is thick enough (and I would not > > want it to be any thicker; but of course tastes differ). See attachment. > > > > I have to ad

Re: Spell checking

2015-04-14 Thread Kornel Benko
Am Dienstag, 14. April 2015 um 11:38:39, schrieb Jürgen Spitzmüller > 2015-04-14 11:32 GMT+02:00 Kornel Benko: > > > This I have already a long time. > > > > In continuous spellchecking: > > The dashed line indicating misspelled word is way too thin on my screen. > > The patch changes it slightly

Re: Spell checking

2015-04-14 Thread Jean-Marc Lasgouttes
Le 14/04/2015 11:38, Jürgen Spitzmüller a écrit : 2015-04-14 11:32 GMT+02:00 Kornel Benko: This I have already a long time. In continuous spellchecking: The dashed line indicating misspelled word is way too thin on my screen. The patch changes it slightly. Can it go in? Can yo

Re: Spell checking

2015-04-14 Thread Jürgen Spitzmüller
2015-04-14 11:38 GMT+02:00 Jürgen Spitzmüller: > Can you post a screenshot? Here, the line is thick enough (and I would not > want it to be any thicker; but of course tastes differ). See attachment. > I have to add that my zoom value is 200. Jürgen

Re: Spell checking

2015-04-14 Thread Jürgen Spitzmüller
2015-04-14 11:32 GMT+02:00 Kornel Benko: > This I have already a long time. > > In continuous spellchecking: > The dashed line indicating misspelled word is way too thin on my screen. > The patch changes it slightly. Can it go in? > Can you post a screenshot? Here, the line is thick enough (and I

Spell checking

2015-04-14 Thread Kornel Benko
This I have already a long time. In continuous spellchecking: The dashed line indicating misspelled word is way too thin on my screen. The patch changes it slightly. Can it go in? Kornel signature.asc Description: This is a digitally signed message part. diff --git a/src/RowPainter.cpp b

Re: [LyX master] Add an LFUN for continuous spell checking

2013-03-25 Thread Richard Heck
On 03/25/2013 08:00 AM, Jean-Marc Lasgouttes wrote: Le 25/03/2013 12:11, Vincent van Ravesteijn a écrit : So the rule would be: everything in lyxrc is automatically saved. The other settings should live elsewhere. However, as I said, in the preferences dialog you can change settings, bu

Re: [LyX master] Add an LFUN for continuous spell checking

2013-03-25 Thread Jean-Marc Lasgouttes
Le 25/03/2013 12:11, Vincent van Ravesteijn a écrit : So the rule would be: everything in lyxrc is automatically saved. The other settings should live elsewhere. However, as I said, in the preferences dialog you can change settings, but then choose *not* to save it, so this would violate

Re: [LyX master] Add an LFUN for continuous spell checking

2013-03-25 Thread Vincent van Ravesteijn
> > >> The preference does not get saved, does it? >> >> Do we want to save? >> >> This is an on-going discussion between me and me. This is not only an >> issue for the continuous spellchecking, but also for the zoom-in/out >> feature. The annoying thing at the moment is that when you chan

Re: #7677: Can't change language for spell checking. No error message

2011-07-26 Thread Stefan Tiedje
Am 23.07.11 21:10, schrieb LyX Ticket Tracker: > #7677: Can't change language for spell checking. No error message > -+-- > Reporter: Tj-Shredder | Owner: stwitt > Type: defect |

Re: Subject: LyX 2.0beta3: Spell Checking + Multilingualism

2011-02-02 Thread Stephan Witt
Am 02.02.2011 um 15:46 schrieb Jean-Marc Lasgouttes: > Le 02/02/2011 11:26, Stephan Witt a écrit : >> +if (!cur.selection()) { >> +// apply to current word >> +selectWordWhenUnderCursor(cur, WHOLE_WORD); >> +} > > There is no need to

Re: Spell checking and breaking words

2011-02-02 Thread Stephan Witt
Am 02.02.2011 um 15:20 schrieb Jean-Marc Lasgouttes: > I stumbled an interesting bug report related to words tokening in > the spell checker. I did not understand everything but it seemed interesting > enough to share (Stephan?) Still alive. :-) > Firefox: > https://bugzilla.mozilla.org/show_bu

Re: Subject: LyX 2.0beta3: Spell Checking + Multilingualism

2011-02-02 Thread Jean-Marc Lasgouttes
Le 02/02/2011 11:26, Stephan Witt a écrit : + if (!cur.selection()) { + // apply to current word + selectWordWhenUnderCursor(cur, WHOLE_WORD); + } There is no need to test for selection, selectWordWhenUnderCursor does the

Spell checking and breaking words

2011-02-02 Thread Jean-Marc Lasgouttes
I stumbled an interesting bug report related to words tokening in the spell checker. I did not understand everything but it seemed interesting enough to share (Stephan?) Firefox: https://bugzilla.mozilla.org/show_bug.cgi?id=355178 Corresponding bug in OpenOffice: http://www.openoffice.org/issu

Re: Subject: LyX 2.0beta3: Spell Checking + Multilingualism

2011-02-02 Thread Stephan Witt
Am 02.02.2011 um 11:44 schrieb Jürgen Spitzmüller: > Stephan Witt wrote: >> The patch to auto-select the word for language change is attached. >> Would that be ok? > > Looks good for me. I've put it in. Stephan

Re: Subject: LyX 2.0beta3: Spell Checking + Multilingualism

2011-02-02 Thread Jürgen Spitzmüller
Stephan Witt wrote: > The patch to auto-select the word for language change is attached. > Would that be ok? Looks good for me. Jürgen

Re: Subject: LyX 2.0beta3: Spell Checking + Multilingualism

2011-02-02 Thread Stephan Witt
Am 27.01.2011 um 14:05 schrieb Walter: ... >>> 2. Right click to set spellchecker language on a highlighted word fails [*] >>> >>> It appears that when 'Tools|Preferences|Language Settings|Spellchecker| >>> Spellcheck

Re: Subject: LyX 2.0beta3: Spell Checking + Multilingualism

2011-01-28 Thread Walter
ironment - >>> what dictionaries are available for the user on the current machine. >>> And we have the feature to switch between the spell checker back ends at >>> runtime. >> >> This sounds ugly.  Is there any similarity between spell checking APIs?

Re: Subject: LyX 2.0beta3: Spell Checking + Multilingualism

2011-01-27 Thread Stephan Witt
n > of language specification (also text style selection, with the hack i > use), and will remain so until LyX UI changes. Do you have an example for such a document? > >> But it can be tricky to make it right. It heavily depends on the spell >> checker - >> aspel

Re: Subject: LyX 2.0beta3: Spell Checking + Multilingualism

2011-01-27 Thread Stephan Witt
Am 27.01.2011 um 15:16 schrieb Walter: >> This sounds ugly. Is there any similarity between spell checking APIs? Is >> there a cross platform, spell checking library unification / abstraction >> layer >> available? Would it be worth developing one? How difficult

Re: Subject: LyX 2.0beta3: Spell Checking + Multilingualism

2011-01-27 Thread Liviu Andronic
On Thu, Jan 27, 2011 at 3:16 PM, Walter wrote: >> This sounds ugly.  Is there any similarity between spell checking APIs?  Is >> there a cross platform, spell checking library unification / abstraction >> layer >> available? Would it be worth developing one? How d

Re: Subject: LyX 2.0beta3: Spell Checking + Multilingualism

2011-01-27 Thread Walter
> This sounds ugly.  Is there any similarity between spell checking APIs?  Is > there a cross platform, spell checking library unification / abstraction layer > available? Would it be worth developing one? How difficult is it to detect > known dictionaries and spell checkers on a cr

Re: Subject: LyX 2.0beta3: Spell Checking + Multilingualism

2011-01-27 Thread Walter
ell > checker - > aspell e. g. accepts completely different "alternative" language settings as > hunspell or apples spell checker do. And it depends on the > runtime-environment - > what dictionaries are available for the user on the current machine. > And we have

Re: Subject: LyX 2.0beta3: Spell Checking + Multilingualism

2011-01-27 Thread Stephan Witt
he place', with a bunch of different > "solutions" in use. In terms of LyX, none of these are really "solutions" > as even with LyX 2.0beta1 it appears to be demonstrably impossible to link > the manual language markup made in conjunction with a font-l

Re: #6799: Spell checking word selection fails

2010-09-18 Thread James C. Sutherland
This appears to be fixed in alpha6. Thanks to all of their developers for their hard work on this - I look forward to using 2.0! James On Fri, Sep 17, 2010 at 6:36 PM, LyX Ticket Tracker wrote: > #6799: Spell checking word selection fa

Re: Crash with continuous spell checking (trunk)

2010-03-25 Thread Jack Desert
After installing libaspell-dev, continuous spell-checking is working. Didn't crash, though. -Jack

Re: Crash with continuous spell checking (trunk)

2010-03-25 Thread Kornel Benko
Am Donnerstag, 25. März 2010 schrieb Jack Desert: > > > Make sure you have aspell-devel or hunspell-devel installed, assuming > > you are using svn or otherwise compiling yourself. > > > > rh > > > > I found a package for libaspell-dev. Is this the same thing? > > -Jack > Yes. If compiling w

Re: Crash with continuous spell checking (trunk)

2010-03-25 Thread Jack Desert
> Make sure you have aspell-devel or hunspell-devel installed, assuming > you are using svn or otherwise compiling yourself. > > rh > I found a package for libaspell-dev. Is this the same thing? -Jack

Re: Crash with continuous spell checking (trunk)

2010-03-24 Thread rgheck
On 03/24/2010 08:33 PM, Jack Desert wrote: El Wed, 24 Mar 2010 15:13:43 +0100 Kornel Benko escribió: How to reproduce: 1.) Run lyx 2.) select Tools->Preferences->Language Settings->Spellchecker->Spellcheck continuously 3.) open a file File displays, but lyx then immediately crashes

Re: Crash with continuous spell checking (trunk)

2010-03-24 Thread Jack Desert
El Wed, 24 Mar 2010 15:13:43 +0100 Kornel Benko escribió: > How to reproduce: > > 1.) Run lyx > 2.) select Tools->Preferences->Language > Settings->Spellchecker->Spellcheck continuously 3.) open a file > > File displays, but lyx then immediately crashes I tried to reproduce this bug, but I open

Crash with continuous spell checking (trunk)

2010-03-24 Thread Kornel Benko
How to reproduce: 1.) Run lyx 2.) select Tools->Preferences->Language Settings->Spellchecker->Spellcheck continuously 3.) open a file File displays, but lyx then immediately crashes this is the backtrace: Program received signal SIGSEGV, Segmentation fault. lyx::Paragraph::layout (this=0x11)

LyX1.5svn - spell checking problems

2007-01-03 Thread Uwe Stöhr
I noticed the following spell checking and thesaurus bugs in LyX1.5svn: For LyX1.5svn and 1.4.4svn: http://bugzilla.lyx.org/show_bug.cgi?id=2691 There are other spell checker bugs that makes life harder than it was in previous LyX versions: http://bugzilla.lyx.org/show_bug.cgi?id=3064 http

Re: [LyXWin 1.3.6pre9] Spell-checking works, but...

2005-06-10 Thread Angus Leeming
ly. It does highlight the fact that the spell checking code in 1.3.x is more fragile than it should be (because no one really understands the logic of what is going on). Fortunately, the code in 1.4.x should be much more robust and much more transparent. I guess I should apply the patch I ha

Re: [LyXWin 1.3.6pre9] Spell-checking works, but...

2005-06-10 Thread Jean-Marc Lasgouttes
> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: Angus> I took the executive decision to do so, because hard crashes Angus> are always bad. OK. I was pondering whether this is related to http://bugzilla.lyx.org/show_bug.cgi?id=1451 but it is probably not. I guess I should apply the pa

Re: [LyXWin 1.3.6pre9] Spell-checking works, but...

2005-06-10 Thread Angus Leeming
Angus Leeming wrote: Ok, the attached patch fixes the crash and allows you to spell check multiple docs. Jean-Marc, I have no idea why this bit of code exists but it is just plain bad! The rest of the code assumes the existence of a valid speller_, so resetting the pointer to 0 is just evil.

Re: [LyXWin 1.3.6pre9] Spell-checking works, but...

2005-06-10 Thread Angus Leeming
Paul A. Rubin wrote: ... except for the bug, reported long ago for other versions, that opening multiple documents and then spell-checking more than one of them causes LyX to crash. Still. Cool! Detailed HOWTO please. Seems to be somewhat document-dependent, and may vary by astrological or

Re: [LyXWin 1.3.6pre9] Spell-checking works, but...

2005-06-09 Thread Paul A. Rubin
Paul A. Rubin wrote: I'm attaching two files from one of my classes. Well, that was the theory, anyway. Perhaps I'll get it right this time. hw10.lyx Description: application/lyx mgt914syllabus.lyx Description: application/lyx

Re: [LyXWin 1.3.6pre9] Spell-checking works, but...

2005-06-09 Thread Paul A. Rubin
Angus Leeming wrote: Paul A. Rubin wrote: Edit | Preferences | Language settings | Spellchecker lists ispell as the program, but it's grayed out and cannot be changed. I have aspell (in C:\Aspell). I don't have ispell. On the other hand, spell-checking somehow works ...

Re: [LyXWin 1.3.6pre9] Spell-checking works, but...

2005-06-09 Thread Angus Leeming
Paul A. Rubin wrote: Edit | Preferences | Language settings | Spellchecker lists ispell as the program, but it's grayed out and cannot be changed. I have aspell (in C:\Aspell). I don't have ispell. On the other hand, spell-checking somehow works ... The *nix versions have t

[LyXWin 1.3.6pre9] Spell-checking works, but...

2005-06-09 Thread Paul A. Rubin
Edit | Preferences | Language settings | Spellchecker lists ispell as the program, but it's grayed out and cannot be changed. I have aspell (in C:\Aspell). I don't have ispell. On the other hand, spell-checking somehow works ... ... except for the bug, reported long ago for othe

Re: The new iterators and spell checking

2005-05-03 Thread Angus Leeming
Felix-Antoine Bourbonnais wrote: > Alfredo Braunstein wrote: >> I'd suggest (untested) > I just tested your patch and it's working now with that patch. Thanks Felix. Thanks Alfredo. I just committed the patch. -- Angus

Re: The new iterators and spell checking

2005-05-02 Thread Felix-Antoine Bourbonnais
Alfredo Braunstein wrote: > Angus Leeming wrote: > > >>This bug report >>http://bugzilla.lyx.org/show_bug.cgi?id=1876 >> >>says that LyX 1.4.x will not spell 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 p

Re: The new iterators and spell checking

2005-05-02 Thread Alfredo Braunstein
Angus Leeming wrote: > This bug report > http://bugzilla.lyx.org/show_bug.cgi?id=1876 > > says that LyX 1.4.x will not spell 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). > > The offending co

The new iterators and spell checking

2005-05-02 Thread Angus Leeming
This bug report http://bugzilla.lyx.org/show_bug.cgi?id=1876 says that LyX 1.4.x will not spell 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). The offending code, together with the proposed patch i

French spell-checking

2004-05-29 Thread Reuben Thomas
Having just installed a new Fedora Core 2 system, I'm reminded of a problem I think I had with Fedora Core 1 too, and LyX 1.3.4: When trying to spell-check in French, I get the error: "Cannot open /usr/lib/aspell/frenchb" This is fair enough, there's no such file. Copying the existing "french.al

Bug in spell checking, qt2, lyx 1.3.4

2004-03-02 Thread David Raymond
I have noticed a bug in spell checking under qt2 (v 2.3.2) on an i386 system running debian, mixed stable and unstable. (I can't yet use qt3, because debian compiles the qt3 unstable package with the 3.3 compiler, and I am still using gcc 2.95.) The bug is there with both aspell and ispell

Re: BUG with spell checking?

2003-02-22 Thread John Levon
On Sat, Feb 22, 2003 at 12:47:35PM +0100, Moritz Moeller-Herrmann wrote: > I assume they are related because they both seem to happen during the > "search" part of spell checking... They may be related, but still not the same bug. So two minimal testcases, please :) john

Re: BUG with spell checking?

2003-02-22 Thread Moritz Moeller-Herrmann
John Levon wrote: > On Fri, Feb 21, 2003 at 07:28:00PM +0100, Moritz Moeller-Herrmann wrote: > >> Hi, I use the new spell checking code from John in lyx-1.3.1CVS(qt3.11) >> and I have some places in my document, where the spell checking process >> is "stuck".

Re: BUG with spell checking?

2003-02-21 Thread John Levon
On Fri, Feb 21, 2003 at 07:28:00PM +0100, Moritz Moeller-Herrmann wrote: > Hi, I use the new spell checking code from John in lyx-1.3.1CVS(qt3.11) and > I have some places in my document, where the spell checking process is > "stuck". It always jumps back to an earlier point.

BUG with spell checking?

2003-02-21 Thread Moritz Moeller-Herrmann
Hi, I use the new spell checking code from John in lyx-1.3.1CVS(qt3.11) and I have some places in my document, where the spell checking process is "stuck". It always jumps back to an earlier point. Sometimes lyx will crash and use 100% CPU load while visibly jumping between 3 paragr

Re: Multilingual spell checking (with possible design changes)

2002-11-27 Thread John Levon
On Thu, Nov 21, 2002 at 05:54:01PM -0500, Alexey Spiridonov wrote: > Here's the file: can you file a bug on bugzilla.lyx.org, and attach the failing document ? thanks john

Re: Multilingual spell checking (with possible design changes)

2002-11-21 Thread Alexey Spiridonov
I will give the development version a try in a few days. Concerning several languages per document, It is possible: you just need to select iso10646-1 font encoding for screen fonts in the preferences dialog. However, currently the latex output of multi-lingual document suck. It works if you cha

Re: Multilingual spell checking (with possible design changes)

2002-11-21 Thread Angus Leeming
On Thursday 21 November 2002 4:34 pm, John Levon wrote: > On Thu, Nov 21, 2002 at 04:36:01PM +, Angus Leeming wrote: > > But this is a forked process! > > no it's not - we use library Umm. Ispell is lauched as a child process. I got confused and thought that pspell was too. A

Re: Multilingual spell checking (with possible design changes)

2002-11-21 Thread John Levon
On Thu, Nov 21, 2002 at 04:36:01PM +, Angus Leeming wrote: > But this is a forked process! no it's not - we use library regards john -- Khendon's Law: If the same point is made twice by the same person, the thread is over.

Re: Multilingual spell checking (with possible design changes)

2002-11-21 Thread Angus Leeming
On Thursday 21 November 2002 4:17 pm, John Levon wrote: > Angus - lyx not crashing is kind of difficult when it's the pspell > library that's crashing :) But this is a forked process! Can we not prevent LyX from crashing if a child crashes?

Re: Multilingual spell checking (with possible design changes)

2002-11-21 Thread John Levon
On Thu, Nov 21, 2002 at 11:35:22AM -0400, Garst R. Reese wrote: > http://aspell.net/ > The latest version is 0.50.2 > It no longers uses a separate pspell pkg, but does install a libpspell. > I don't know what this implies relative to --with-pspell Yes, I've just verified this works still But I

Re: Multilingual spell checking (with possible design changes)

2002-11-21 Thread John Levon
On Thu, Nov 21, 2002 at 02:37:28PM +0200, Dekel Tsur wrote: > Why pspell isn't enabled by default if it is available ? I do not know, but I didn't want to rock the boat. > Currently LyX crashes when I perform spellchecking with pspell. > I have pspell 0.12.2. Do I need a newer version, or is thi

Re: Multilingual spell checking (with possible design changes)

2002-11-21 Thread Angus Leeming
On Thursday 21 November 2002 12:37 pm, Dekel Tsur wrote: > On Thu, Nov 21, 2002 at 12:25:03PM +, John Levon wrote: > > On Thu, Nov 21, 2002 at 11:40:22AM +, Angus Leeming wrote: > > > Thereafter, this class iterates over the buffer contents and passes > > > each word to speller_. All we'd h

Re: Multilingual spell checking (with possible design changes)

2002-11-21 Thread Dekel Tsur
On Thu, Nov 21, 2002 at 12:25:03PM +, John Levon wrote: > On Thu, Nov 21, 2002 at 11:40:22AM +, Angus Leeming wrote: > > > Thereafter, this class iterates over the buffer contents and passes each word > > to speller_. All we'd have to do is interrogate the language of each word. > > It

Re: Multilingual spell checking (with possible design changes)

2002-11-21 Thread Dekel Tsur
anguages (with different encodings) inside the same paragraph. > > Therefore, I think it should be up to LyX to do spell checking in an > > intelligent manner. I see several approaches. One is to implement > > dynamic spell checking a la Word, and use that for single-pass spell > &

Re: Multilingual spell checking (with possible design changes)

2002-11-21 Thread John Levon
On Thu, Nov 21, 2002 at 11:40:22AM +, Angus Leeming wrote: > Thereafter, this class iterates over the buffer contents and passes each word > to speller_. All we'd have to do is interrogate the language of each word. It already works in current CVS for new pspell. Install new pspell build --

Re: Multilingual spell checking (with possible design changes)

2002-11-21 Thread Angus Leeming
If > someone knows the answer, please tell me. Hello, Alexey. I don't think that this is possible currently; we must first move to using unicode internally. I understand that this is planned for sometime soon... > Therefore, I think it should be up to LyX to do spell checking in

Multilingual spell checking (with possible design changes)

2002-11-20 Thread Alexey Spiridonov
e they have no way of knowing the language -- all the ASCII characters are shared out among many languages (I have no clue what the situation is with truly multibyte languages like Chinese, Korean, and Japanese.) Secondly, the UI for switching spell-checking languages is atrocious. Theref

Per-document word-list for spell checking

2001-06-04 Thread Reuben Thomas
It'd be nice to be able to specify a per-document word list for spell-checking: I use lots of "words" that I don't want to add to my personal dictionary (e.g. function names, assembly language instructions) but don't want to have to click "allow for this session"

  1   2   >