RE: Inset hiding when inset is deleted

2000-07-14 Thread Juergen Vigna
On 14-Jul-2000 Angus Leeming wrote: > > Give me a chance, sir! Now that I've compiled and run things I find that that > pesky "Text After" in the main window is no longer present. WOOO! > #:O) well it did take some time, but finally ... ;) > Ok, smart arse ;-), so explain how and why thi

RE: Inset hiding when inset is deleted

2000-07-14 Thread Angus Leeming
Jürgen> So you didn't see why I used that function :) Have a better look ;) Give me a chance, sir! Now that I've compiled and run things I find that that pesky "Text After" in the main window is no longer present. WOOO! Ok, smart arse ;-), so explain how and why this works? Is it documented

RE: Inset hiding when inset is deleted

2000-07-14 Thread Juergen Vigna
On 14-Jul-2000 Angus Leeming wrote: > > fl_set_object_position(dialog_->textAftr, 100, ypos); > in setSize()? I've just learnt about a new function. Thanks, Jürgen. I guess > that it could be applied to everything except the two browsers. Will make the > code clearer. So you didn't see why I us

RE: Inset hiding when inset is deleted

2000-07-14 Thread Angus Leeming
Jürgen> One observation why did you remove the CITATION_CODE? IMO that's is good Jürgen> if an inset can identify itself and it wouldn't have hurt! Sure. But I only introduced it in the first place because of the code in BufferView_pimpl.C. Re-introducing an Edit() method to InsetCitation rendere

RE: Inset hiding when inset is deleted

2000-07-14 Thread Juergen Vigna
On 14-Jul-2000 Juergen Vigna wrote: >> Attached is a patch against current CVS. It contains I made a small modification in FormCitation.C have a look! Jürgen -- -._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._ Dr. Jürgen VignaE-Mail: [EMAIL PROTECTED] Itali

RE: Inset hiding when inset is deleted

2000-07-14 Thread Juergen Vigna
On 13-Jul-2000 Angus Leeming wrote: > Jürgen> I tested it and it compiled, then you have to explain me what to change > Jürgen> because I've seen it now does produce struct's not typedef structs! > Nothing very exciting. It means that you can make a forward declaration to the > xform dialogs in F

RE: Inset hiding when inset is deleted

2000-07-13 Thread Angus Leeming
Jürgen> I tested it and it compiled, then you have to explain me what to change Jürgen> because I've seen it now does produce struct's not typedef structs! Nothing very exciting. It means that you can make a forward declaration to the xform dialogs in FormXxx.h header files. See the patch to FormC

RE: Inset hiding when inset is deleted

2000-07-13 Thread Juergen Vigna
> >> > Incidentally, have you had a look at my new and improved fdfix patch? I'm quite >> > proud of it really! >> I'll have a look now and commit all of it before 17:00 local time ;) > > ;) I tested it and it compiled, then you have to explain me what to change because I've seen it now does p

RE: Inset hiding when inset is deleted

2000-07-13 Thread Angus Leeming
> The problem with storing the BufferView * is that on a close buffer the > BufferView is deleted BEFORE the inset, so you would call the bv_->... on > a deleted BufferView! That's the reason I opted for storing the dialogs_ > pointer! Ahh! Thanks! > > Incidentally, have you had a look at my

RE: Inset hiding when inset is deleted

2000-07-13 Thread Juergen Vigna
On 13-Jul-2000 Angus Leeming wrote: > > Jürgen, I've been suddenly assailed by doubt. I modified InsetCitation to store > a BufferView * bv_. Would it not make more sense to store a Dialogs * dialogs_ > directly? Does it make any difference? What SHOULD I store... etc, etc, etc! The problem wit

RE: Inset hiding when inset is deleted

2000-07-13 Thread Angus Leeming
Jürgen> > Excellent! It works like a charm. Jürgen> #:O) and after my new commit this will be the only one for tabular insets Jürgen> I removed LayoutTabular.C (it's already kind of working ;) ! Jürgen, I've been suddenly assailed by doubt. I modified InsetCitation to store a BufferView * bv_. W

RE: Inset hiding when inset is deleted

2000-07-13 Thread Juergen Vigna
On 13-Jul-2000 Angus Leeming wrote: > > Excellent! It works like a charm. #:O) and after my new commit this will be the only one for tabular insets I removed LayoutTabular.C (it's already kind of working ;) ! Jürgen -- -._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-

RE: Inset hiding when inset is deleted

2000-07-13 Thread Angus Leeming
Jürgen> On 12-Jul-2000 Baruch Even wrote: Jürgen> > 1. Insert InsetGraphics Jürgen> > 2. Edit it (the dialog pops) Jürgen> > 3. Go back to LyX and delete the inset (the dialog stays) Jürgen> > 4. Edit the dialog and click apply (LyX crashes) Jürgen> Try to have a look at the 'insettabular' I alre

RE: Inset hiding when inset is deleted

2000-07-13 Thread Juergen Vigna
On 12-Jul-2000 Baruch Even wrote: > 1. Insert InsetGraphics > 2. Edit it (the dialog pops) > 3. Go back to LyX and delete the inset (the dialog stays) > 4. Edit the dialog and click apply (LyX crashes) Try to have a look at the 'insettabular' I already solved that problem there :) Jürgen