Re: LyXText::insertChar() and newlines

2002-01-15 Thread Allan Rae
On Tue, 15 Jan 2002, John Levon wrote: > On Tue, Jan 15, 2002 at 10:45:14PM +1000, Allan Rae wrote: > > > > njamd was fine with everything I tried, sorry. > > > > No, that should mean we can close that bug without further arguements > > since Lars isn't particularly interested in letting me stop

Re: LyXText::insertChar() and newlines

2002-01-15 Thread John Levon
On Tue, Jan 15, 2002 at 10:45:14PM +1000, Allan Rae wrote: > > njamd was fine with everything I tried, sorry. > > No, that should mean we can close that bug without further arguements > since Lars isn't particularly interested in letting me stop people > C-Entering when all they have in a paragr

Re: LyXText::insertChar() and newlines

2002-01-15 Thread Allan Rae
On Tue, 15 Jan 2002, Lars Gullik Bjønnes wrote: > Allan Rae <[EMAIL PROTECTED]> writes: [...] > | lyx quirk.lyx > | View->DVI or View->Update->DVI (emacs: C-x p or C-x r) > | dismiss the Alert dialog > | Enter > | View->DVI or View->Update->DVI (emacs: C-x p or C-x r) > | dismiss the Alert dial

Re: LyXText::insertChar() and newlines

2002-01-15 Thread Allan Rae
On Tue, 15 Jan 2002, John Levon wrote: > On Tue, Jan 15, 2002 at 09:50:03PM +1000, Allan Rae wrote: > > > Otherwise just frig around with C-Enter and different cursor locations > > njamd was fine with everything I tried, sorry. No, that should mean we can close that bug without further arguement

Re: LyXText::insertChar() and newlines

2002-01-15 Thread John Levon
On Tue, Jan 15, 2002 at 09:50:03PM +1000, Allan Rae wrote: > Otherwise just frig around with C-Enter and different cursor locations njamd was fine with everything I tried, sorry. regards john -- "Now why did you have to go and mess up the child's head, so you can get another gold waterbed ?

Re: LyXText::insertChar() and newlines

2002-01-15 Thread Allan Rae
On Tue, 15 Jan 2002, John Levon wrote: > On Tue, Jan 15, 2002 at 08:53:03PM +1000, Allan Rae wrote: > > > and don't get any output at all from it after that. I also get weird > > behaviour in LyX: Alert boxes never appear ever, even when they > > should. > > hmmph. have you tried it from within

Re: LyXText::insertChar() and newlines

2002-01-15 Thread John Levon
On Tue, Jan 15, 2002 at 08:53:03PM +1000, Allan Rae wrote: > and don't get any output at all from it after that. I also get weird > behaviour in LyX: Alert boxes never appear ever, even when they > should. hmmph. have you tried it from within gdb itself ? Though itall works for me. > I'll comm

Re: LyXText::insertChar() and newlines

2002-01-15 Thread Allan Rae
On Tue, 15 Jan 2002, John Levon wrote: > On Tue, Jan 15, 2002 at 08:17:38PM +1000, Allan Rae wrote: > > > I still have a small fix to commit and then I need someone who can get > > useful output from njamd to redo the quirk.lyx test so I can figure > > out where the missing Error boxes are going.

Re: LyXText::insertChar() and newlines

2002-01-15 Thread John Levon
On Tue, Jan 15, 2002 at 08:17:38PM +1000, Allan Rae wrote: > I still have a small fix to commit and then I need someone who can get > useful output from njamd to redo the quirk.lyx test so I can figure > out where the missing Error boxes are going. what problem do you have with njamd ? I'm on h

Re: LyXText::insertChar() and newlines

2002-01-15 Thread Allan Rae
On Tue, 15 Jan 2002, Lars Gullik Bjønnes wrote: > Allan Rae <[EMAIL PROTECTED]> writes: > > | On Tue, 15 Jan 2002, Lars Gullik Bjønnes wrote: > > > >> Allan Rae <[EMAIL PROTECTED]> writes: > | [...] > >> | What I really want to do is stop people inserting "C-Enter" in a line > >> | that only cont

Re: LyXText::insertChar() and newlines

2002-01-15 Thread Allan Rae
On Tue, 15 Jan 2002, Lars Gullik Bjønnes wrote: > Allan Rae <[EMAIL PROTECTED]> writes: > > | I stumbled upon another one of those silly comparison tests but this > | time I don't immediately see what should have been there. > > > | text.C:1894-1902 > | } else if (IsNewlineChar(c)) { > | ==>

Re: LyXText::insertChar() and newlines

2002-01-15 Thread Allan Rae
On Tue, 15 Jan 2002, Lars Gullik Bjønnes wrote: > Allan Rae <[EMAIL PROTECTED]> writes: [...] > | What I really want to do is stop people inserting "C-Enter" in a line > | that only contains "Inset::autoDelete() == true" type insets (like > | error boxes -- as this is the only remaining flaw in t

LyXText::insertChar() and newlines

2002-01-14 Thread Allan Rae
I stumbled upon another one of those silly comparison tests but this time I don't immediately see what should have been there. text.C:1894-1902 } else if (IsNewlineChar(c)) { ==> if (cursor.par() == cursor.par() && cursor.pos() <= beginningOfMainBody(bview