Re: r23226 - in /lyx-devel/trunk/src: frontends/qt4/GuiComple...

2008-02-28 Thread Enrico Forestieri
On Thu, Feb 28, 2008 at 03:53:54PM +0100, Stefan Schimanski wrote: > Can you please try it out on Windows again? I fixed a stack memory > corruption error. I am quite sure that this was the reason for the > strange behaviour you reported on Windows. Yes, that was it. Good detective work! --

Re: r23226 - in /lyx-devel/trunk/src: frontends/qt4/GuiComple...

2008-02-28 Thread Stefan Schimanski
Am 26.02.2008 um 09:56 schrieb Stefan Schimanski: Am 26.02.2008 um 03:03 schrieb Enrico Forestieri: On Mon, Feb 25, 2008 at 03:43:51PM +0100, Abdelrazak Younes wrote: Stefan Schimanski wrote: No, Windoze... Visual C or gcc? Visual C++ 9.0 (aka 2008 express edition). Only Enrico uses

Re: r23226 - in /lyx-devel/trunk/src: frontends/qt4/GuiComple...

2008-02-28 Thread Abdelrazak Younes
Enrico Forestieri wrote: On Thu, Feb 28, 2008 at 12:59:37PM +0100, Abdelrazak Younes wrote: Enrico Forestieri wrote: ... thus I was (in my intention) friendly teasing you. A smiley would have conveyed this very important information :-) I am losing the notion of time... I could swear that t

Re: r23226 - in /lyx-devel/trunk/src: frontends/qt4/GuiComple...

2008-02-28 Thread Enrico Forestieri
On Thu, Feb 28, 2008 at 12:59:37PM +0100, Abdelrazak Younes wrote: > Enrico Forestieri wrote: ... > > thus I was (in my intention) friendly teasing you. > > A smiley would have conveyed this very important information :-) I am losing the notion of time... I could swear that today was Friday... -

Re: r23226 - in /lyx-devel/trunk/src: frontends/qt4/GuiComple...

2008-02-28 Thread Abdelrazak Younes
Enrico Forestieri wrote: On Thu, Feb 28, 2008 at 11:38:28AM +0100, Abdelrazak Younes wrote: Enrico Forestieri wrote: On Thu, Feb 28, 2008 at 10:40:06AM +0100, Abdelrazak Younes wrote: How is that related? Are you talking about the windows closing orgy code? FWIW, most of what I erased is eith

Re: r23226 - in /lyx-devel/trunk/src: frontends/qt4/GuiComple...

2008-02-28 Thread Enrico Forestieri
On Thu, Feb 28, 2008 at 11:38:28AM +0100, Abdelrazak Younes wrote: > Enrico Forestieri wrote: > > On Thu, Feb 28, 2008 at 10:40:06AM +0100, Abdelrazak Younes wrote: > > > >> How is that related? Are you talking about the windows closing orgy > >> code? FWIW, most of what I erased is either my own

Re: r23226 - in /lyx-devel/trunk/src: frontends/qt4/GuiComple...

2008-02-28 Thread Abdelrazak Younes
Enrico Forestieri wrote: On Thu, Feb 28, 2008 at 10:40:06AM +0100, Abdelrazak Younes wrote: How is that related? Are you talking about the windows closing orgy code? FWIW, most of what I erased is either my own code or Peter's so I really don't know what you are talking about. We were talkin

Re: r23226 - in /lyx-devel/trunk/src: frontends/qt4/GuiComple...

2008-02-28 Thread Enrico Forestieri
On Thu, Feb 28, 2008 at 10:40:06AM +0100, Abdelrazak Younes wrote: > How is that related? Are you talking about the windows closing orgy > code? FWIW, most of what I erased is either my own code or Peter's so I > really don't know what you are talking about. We were talking about fishness... >

Re: r23226 - in /lyx-devel/trunk/src: frontends/qt4/GuiComple...

2008-02-28 Thread Abdelrazak Younes
Enrico Forestieri wrote: On Thu, Feb 28, 2008 at 08:13:06AM +0100, Abdelrazak Younes wrote: Enrico Forestieri wrote: On Tue, Feb 26, 2008 at 09:56:22AM +0100, Stefan Schimanski wrote: Am 26.02.2008 um 03:03 schrieb Enrico Forestieri: On Mon, Feb 25, 2008 at 03:43:51PM +0100, Abdelrazak Youne

Re: r23226 - in /lyx-devel/trunk/src: frontends/qt4/GuiComple...

2008-02-28 Thread Enrico Forestieri
On Thu, Feb 28, 2008 at 08:13:06AM +0100, Abdelrazak Younes wrote: > Enrico Forestieri wrote: > > On Tue, Feb 26, 2008 at 09:56:22AM +0100, Stefan Schimanski wrote: > >> Am 26.02.2008 um 03:03 schrieb Enrico Forestieri: > >> > >>> On Mon, Feb 25, 2008 at 03:43:51PM +0100, Abdelrazak Younes wrote: >

Re: r23226 - in /lyx-devel/trunk/src: frontends/qt4/GuiComple...

2008-02-27 Thread Abdelrazak Younes
Enrico Forestieri wrote: On Tue, Feb 26, 2008 at 09:56:22AM +0100, Stefan Schimanski wrote: Am 26.02.2008 um 03:03 schrieb Enrico Forestieri: On Mon, Feb 25, 2008 at 03:43:51PM +0100, Abdelrazak Younes wrote: Stefan Schimanski wrote: No, Windoze... Visual C or gcc? Visual C++ 9.0 (aka 200

Re: r23226 - in /lyx-devel/trunk/src: frontends/qt4/GuiComple...

2008-02-27 Thread Enrico Forestieri
On Tue, Feb 26, 2008 at 09:56:22AM +0100, Stefan Schimanski wrote: > > Am 26.02.2008 um 03:03 schrieb Enrico Forestieri: > > > On Mon, Feb 25, 2008 at 03:43:51PM +0100, Abdelrazak Younes wrote: > > > >> Stefan Schimanski wrote: > > No, Windoze... > >>> > >>> Visual C or gcc? > >> > >> V

Re: r23226 - in /lyx-devel/trunk/src: frontends/qt4/GuiComple...

2008-02-26 Thread Pavel Sanda
> Yes, works fine here. Are you on linux? yep. > Anyway, there is not sense to argue. There is definitely a bug in the code > which shows up on your machine, but not on mine. Thanks for reporting. Have > to fix that. It can be quite tricky to get the logic right and I think I > mostly got it (

Re: r23226 - in /lyx-devel/trunk/src: frontends/qt4/GuiComple...

2008-02-26 Thread Stefan Schimanski
I have a version now running in Ubuntu. First of all there was a simple (but confusing) problem, that the color for the unique completion was grey70 which does not exist in Linux, hence it was displayed in the text color. Second I have a fix in my local tree that is not yet in trunk. Will c

Re: r23226 - in /lyx-devel/trunk/src: frontends/qt4/GuiComple...

2008-02-26 Thread Stefan Schimanski
Am 26.02.2008 um 03:03 schrieb Enrico Forestieri: On Mon, Feb 25, 2008 at 03:43:51PM +0100, Abdelrazak Younes wrote: Stefan Schimanski wrote: No, Windoze... Visual C or gcc? Visual C++ 9.0 (aka 2008 express edition). Only Enrico uses gcc for cygwin purpose I think. For test purpose, I

Re: r23226 - in /lyx-devel/trunk/src: frontends/qt4/GuiComple...

2008-02-25 Thread Abdelrazak Younes
Pavel Sanda wrote: The math completion works but not the text, is that normal? Well, depends on what you call working. First I disabled the automatic completion for text because it might be annoying for many people.\ What is the purpose of the "Automatically show in text mode" then? So you ha

Re: r23226 - in /lyx-devel/trunk/src: frontends/qt4/GuiComple...

2008-02-25 Thread Enrico Forestieri
On Mon, Feb 25, 2008 at 03:43:51PM +0100, Abdelrazak Younes wrote: > Stefan Schimanski wrote: > >> > >> No, Windoze... > > > > Visual C or gcc? > > Visual C++ 9.0 (aka 2008 express edition). Only Enrico uses gcc for > cygwin purpose I think. For test purpose, I also build a native version with

Re: r23226 - in /lyx-devel/trunk/src: frontends/qt4/GuiComple...

2008-02-25 Thread Stefan Schimanski
I did a first implementation of a global word list for the text mode which is automatically filled during document parsing. Moreover it keeps in sync with the paragraphs, i.e. if you type new words they are put into the word list. If delete a paragraph the words are taken out from the word

Re: r23226 - in /lyx-devel/trunk/src: frontends/qt4/GuiComple...

2008-02-25 Thread Stefan Schimanski
Am 26.02.2008 um 01:13 schrieb Pavel Sanda: The math completion works but not the text, is that normal? Well, depends on what you call working. First I disabled the automatic completion for text because it might be annoying for many people.\ What is the purpose of the "Automatically show i

Re: r23226 - in /lyx-devel/trunk/src: frontends/qt4/GuiComple...

2008-02-25 Thread Pavel Sanda
>>> The math completion works but not the text, is that normal? >> Well, depends on what you call working. First I disabled the automatic >> completion for text because it might be annoying for many people.\ > > What is the purpose of the "Automatically show in text mode" then? > >> So you have to

Re: r23226 - in /lyx-devel/trunk/src: frontends/qt4/GuiComple...

2008-02-25 Thread Abdelrazak Younes
Stefan Schimanski wrote: No, Windoze... Visual C or gcc? Visual C++ 9.0 (aka 2008 express edition). Only Enrico uses gcc for cygwin purpose I think. Abdel.

Re: r23226 - in /lyx-devel/trunk/src: frontends/qt4/GuiComple...

2008-02-25 Thread Stefan Schimanski
No, Windoze... Visual C or gcc? Second the data collection is very poor because I wanted to get the backend, WordList, working first in a proper way. So it only adds words when closing them with a space. I.e. type lalalala and the word is added to the WordList. The next step is to fill

Re: r23226 - in /lyx-devel/trunk/src: frontends/qt4/GuiComple...

2008-02-25 Thread Abdelrazak Younes
Stefan Schimanski wrote: Am 25.02.2008 um 15:10 schrieb Abdelrazak Younes: Stefan Schimanski wrote: Am 25.02.2008 um 14:45 schrieb Abdelrazak Younes: The math completion works but not the text, is that normal? Well, depends on what you call working. First I disabled the automatic completi

Re: r23226 - in /lyx-devel/trunk/src: frontends/qt4/GuiComple...

2008-02-25 Thread Stefan Schimanski
Am 25.02.2008 um 15:10 schrieb Abdelrazak Younes: Stefan Schimanski wrote: Am 25.02.2008 um 14:45 schrieb Abdelrazak Younes: The math completion works but not the text, is that normal? Well, depends on what you call working. First I disabled the automatic completion for text because it mi

Re: r23226 - in /lyx-devel/trunk/src: frontends/qt4/GuiComple...

2008-02-25 Thread Abdelrazak Younes
Stefan Schimanski wrote: Am 25.02.2008 um 14:45 schrieb Abdelrazak Younes: The math completion works but not the text, is that normal? Well, depends on what you call working. First I disabled the automatic completion for text because it might be annoying for many people.\ What is the pur

Re: r23226 - in /lyx-devel/trunk/src: frontends/qt4/GuiComple...

2008-02-25 Thread Stefan Schimanski
Am 25.02.2008 um 14:49 schrieb Stefan Schimanski: Am 25.02.2008 um 14:45 schrieb Abdelrazak Younes: Abdelrazak Younes wrote: Stefan Schimanski wrote: = = = = --- lyx-devel/trunk/src/mathed/InsetMathNest.h (original) +++ lyx-d

Re: r23226 - in /lyx-devel/trunk/src: frontends/qt4/GuiComple...

2008-02-25 Thread Stefan Schimanski
Am 25.02.2008 um 14:45 schrieb Abdelrazak Younes: Abdelrazak Younes wrote: Stefan Schimanski wrote: = = = = --- lyx-devel/trunk/src/mathed/InsetMathNest.h (original) +++ lyx-devel/trunk/src/mathed/InsetMathNest.h Mon Feb 25 14:

Re: r23226 - in /lyx-devel/trunk/src: frontends/qt4/GuiComple...

2008-02-25 Thread Abdelrazak Younes
Abdelrazak Younes wrote: Stefan Schimanski wrote: --- lyx-devel/trunk/src/mathed/InsetMathNest.h (original) +++ lyx-devel/trunk/src/mathed/InsetMathNest.h Mon Feb 25 14:11:09 2008 @@ -28,7 +28,7 @@ /// virtual size_t si

Re: r23226 - in /lyx-devel/trunk/src: frontends/qt4/GuiComple...

2008-02-25 Thread Abdelrazak Younes
Stefan Schimanski wrote: Am 25.02.2008 um 14:16 schrieb Abdelrazak Younes: Stefan Schimanski wrote: Modified: lyx-devel/trunk/src/mathed/InsetMathNest.h URL: http://www.lyx.org/trac/file/lyx-devel/trunk/src/mathed/InsetMathNest.h?rev=23226 = = = = = = = = = = =

Re: r23226 - in /lyx-devel/trunk/src: frontends/qt4/GuiComple...

2008-02-25 Thread Stefan Schimanski
I have the hope that this change will fix my crash... Can you check whether the string coming from the btree is valid? That's the only possibility I see that the construction of the docstring there can fail. Stefan

Re: r23226 - in /lyx-devel/trunk/src: frontends/qt4/GuiComple...

2008-02-25 Thread Stefan Schimanski
Am 25.02.2008 um 14:16 schrieb Abdelrazak Younes: Stefan Schimanski wrote: Modified: lyx-devel/trunk/src/mathed/InsetMathNest.h URL: http://www.lyx.org/trac/file/lyx-devel/trunk/src/mathed/InsetMathNest.h?rev=23226 = = = = = = = = = = ==

Re: r23226 - in /lyx-devel/trunk/src: frontends/qt4/GuiComple...

2008-02-25 Thread Abdelrazak Younes
Stefan Schimanski wrote: Modified: lyx-devel/trunk/src/mathed/InsetMathNest.h URL: http://www.lyx.org/trac/file/lyx-devel/trunk/src/mathed/InsetMathNest.h?rev=23226 = = = = = = = = == --- lyx-devel/trunk/src/mathed/InsetMathN

Re: r23226 - in /lyx-devel/trunk/src: frontends/qt4/GuiComple...

2008-02-25 Thread Stefan Schimanski
Modified: lyx-devel/trunk/src/mathed/InsetMathNest.h URL: http://www.lyx.org/trac/file/lyx-devel/trunk/src/mathed/InsetMathNest.h?rev=23226 = = = = = = = = == --- lyx-devel/trunk/src/mathed/InsetMathNest.h (original) +++ lyx-deve