Re: Spellcheck a whole row

2010-08-12 Thread Stephan Witt
Am 11.08.2010 um 22:33 schrieb Jean-Marc Lasgouttes: Le 11 août 10 à 21:21, Stephan Witt a écrit : I've prepared the following patch to demonstrate the way to speed up the native spell checker on mac. In case of spell error it is as slow as the original version. I'd like to improve that

Re: Spellcheck a whole row

2010-08-12 Thread Jean-Marc LASGOUTTES
Stephan Witt st.w...@gmx.net writes: I do not have time to test it, so I'll just make comments. Does it actually go faster, btw? Thanks for comments. Yes it is faster. On my macbook the latency on page-up/down is gone for mostly correct text. That is very good. And there is potential for

Re: Spellcheck a whole row

2010-08-12 Thread Stephan Witt
Am 11.08.2010 um 22:33 schrieb Jean-Marc Lasgouttes: > Le 11 août 10 à 21:21, Stephan Witt a écrit : >> I've prepared the following patch to demonstrate the way to speed up the >> native spell checker on mac. In case of spell error it is as slow as the >> original version. I'd like to improve

Re: Spellcheck a whole row

2010-08-12 Thread Jean-Marc LASGOUTTES
Stephan Witt writes: >> I do not have time to test it, so I'll just make comments. Does it >> actually go faster, btw? > > Thanks for comments. Yes it is faster. On my macbook the latency on > page-up/down is gone for mostly correct text. That is very good. And there is

Spellcheck a whole row

2010-08-11 Thread Stephan Witt
Hi, I've prepared the following patch to demonstrate the way to speed up the native spell checker on mac. In case of spell error it is as slow as the original version. I'd like to improve that next... Stephan Index: src/AppleSpellChecker.h

Re: Spellcheck a whole row

2010-08-11 Thread Jean-Marc Lasgouttes
Le 11 août 10 à 21:21, Stephan Witt a écrit : I've prepared the following patch to demonstrate the way to speed up the native spell checker on mac. In case of spell error it is as slow as the original version. I'd like to improve that next... I do not have time to test it, so I'll just make

Re: Spellcheck a whole row

2010-08-11 Thread Abdelrazak Younes
On Wed, Aug 11, 2010 at 9:21 PM, Stephan Witt st.w...@gmx.net wrote: Hi, I've prepared the following patch to demonstrate the way to speed up the native spell checker on mac. In case of spell error it is as slow as the original version. I'd like to improve that next... Please don't

Re: Spellcheck a whole row

2010-08-11 Thread Jean-Marc Lasgouttes
Le 11 août 10 à 23:47, Abdelrazak Younes a écrit : Please don't introduce Row.h dependency into Paragraph. The first is about screen and the second about contents. Just make a new Paragraph::spellCheckRange(ps_type from, pos_type to) And I agree with JMarc that this method is too complicated

Spellcheck a whole row

2010-08-11 Thread Stephan Witt
Hi, I've prepared the following patch to demonstrate the way to speed up the native spell checker on mac. In case of spell error it is as slow as the original version. I'd like to improve that next... Stephan Index: src/AppleSpellChecker.h

Re: Spellcheck a whole row

2010-08-11 Thread Jean-Marc Lasgouttes
Le 11 août 10 à 21:21, Stephan Witt a écrit : I've prepared the following patch to demonstrate the way to speed up the native spell checker on mac. In case of spell error it is as slow as the original version. I'd like to improve that next... I do not have time to test it, so I'll just make

Re: Spellcheck a whole row

2010-08-11 Thread Abdelrazak Younes
On Wed, Aug 11, 2010 at 9:21 PM, Stephan Witt wrote: > Hi, > > I've prepared the following patch to demonstrate the way to speed up the > native spell checker on mac. In case of spell error it is as slow as the > original version. I'd like to improve that next... > Please don't

Re: Spellcheck a whole row

2010-08-11 Thread Jean-Marc Lasgouttes
Le 11 août 10 à 23:47, Abdelrazak Younes a écrit : Please don't introduce Row.h dependency into Paragraph. The first is about screen and the second about contents. Just make a new Paragraph::spellCheckRange(ps_type from, pos_type to) And I agree with JMarc that this method is too complicated