Re: [Bug 1366] regression: crash clicking button pasted collapsable inset

2003-09-14 Thread Andre Poenitz
On Fri, Sep 12, 2003 at 09:48:55PM +0300, Martin Vermeer wrote: > > I'd guess Juergen is the only one who completely understood the locking > > business at some point of time... > > > > Andre' > > Which Juergen? Vigna? Yes. Andre' -- Those who desire to give up Freedom in order to gain Secur

Re: crash in 1.3.2 - probably related to change tracking

2003-09-14 Thread Nirmal Govind
> The document is hopelessly corrupted, the author ID is crap. You mean the line that starts with \author doesn't look as it should? I have it as \author "" .. what should this look like? > then you should be able to recover your document. Great! Yes, that did it.. thanks John... > BTW, the or

Re: crash in 1.3.2 - probably related to change tracking

2003-09-14 Thread John Levon
On Sun, Sep 14, 2003 at 09:46:03PM -0400, Nirmal Govind wrote: > However, LyX still crashes if I open that document: The document is hopelessly corrupted, the author ID is crap. If you go through your doc and make all the changes look something like : \change_deleted 1 1062467217 An iterative a

Re: crash in 1.3.2 - probably related to change tracking

2003-09-14 Thread Nirmal Govind
I edited the lyx file to have the following lines: \tracking_changes 1 \author "Nirmal Govind" [EMAIL PROTECTED] and I edited my preferences file to have: \user_name "Nirmal Govind" \user_email "[EMAIL PROTECTED]" However, LyX still crashes if I open that document: [EMAIL PROTECTED]:~/Researc

Re: crash in 1.3.2 - probably related to change tracking

2003-09-14 Thread Nirmal Govind
> Check also your ~/.lyx/preferences file and make sure the \user_name and > \user_email are set correctly. Aah.. I checked and this is probably the problem: \user_name "Nirmal Govind,Home,," \user_email \screen_font_roman I have no clue as to how the second line got there?! nirmal

EnumLColor: preliminary patch

2003-09-14 Thread Angus Leeming
Attached is a preliminary patch on the road to removing #include "LColor.h" from header files simply to define a function's argument list. I have done no more than replace the LColor::color instances with EnumLColor const &. Questions. 1. Instances of both LColor::color and this EnumLColor wrap

Re: crash in 1.3.2 - probably related to change tracking

2003-09-14 Thread Johnathan Burchill
On September 14, 2003 03:08 pm, Nirmal Govind wrote: > That message ended prematurely.. just wanted to add that I think the > offending lines in my file are the following: > > \tracking_changes 1 > \author "Nirmal Govind,Home,," \screen_font_roman > \author "Nirmal Govind,Home,," > \author "root"

Re: crash in 1.3.2 - probably related to change tracking

2003-09-14 Thread Nirmal Govind
That message ended prematurely.. just wanted to add that I think the offending lines in my file are the following: \tracking_changes 1 \author "Nirmal Govind,Home,," \screen_font_roman \author "Nirmal Govind,Home,," \author "root" thanks, nirmal

crash in 1.3.2 - probably related to change tracking

2003-09-14 Thread Nirmal Govind
Hi.. While opening a document, I got a message that says something like unknown token in textclass and the error box in Lyx says \screen_font_roman and has my name below it (similar to what I see while accepting/rejecting changes). And when I tried viewing the DVI, it just hung.. so I killed that s

Re: Potential bug?

2003-09-14 Thread Angus Leeming
Alfredo Braunstein wrote: > What about (almost the same as the original one) > > while (ipit != ipend) { > InProgressProcesses::iterator curr = ipit++; > if (curr->second.snippets.empty()) > in_progress_.erase(curr); > } > >

Re: CutAndPaste.C

2003-09-14 Thread Alfredo Braunstein
Martin Vermeer wrote: > That's just what I was wondering. If this is so, it presupposes that > pit always points into pars, which is the text *into* which the paste > should take place... hmm it looks like it, but I find pasteSelcection I think the same. > in text2 hard to read :-( And unfortun

Re: Potential bug?

2003-09-14 Thread Alfredo Braunstein
Angus Leeming wrote: > if (ipit == ipend) > return; > InProgressProcesses::iterator next = boost::next(ipit); > while (ipit != ipend) { > if (ipit->second.snippets.empty()) { > in_progress_.erase(ipit); >

Re: Potential bug?

2003-09-14 Thread Angus Leeming
Michael Schmitt wrote: > Hi, > > I was looking for a small code snippet that tells me how to use > iterators in combination with erase (the latter makes the iterator invalid). > > When browsing through the LyX sources, I came across the following code: > > void PreviewLoader::Impl::remove(s

Re: CutAndPaste.C

2003-09-14 Thread Martin Vermeer
On Fri, Sep 12, 2003 at 09:01:18PM +0200, Alfredo Braunstein spake thusly: > Martin Vermeer wrote: > > > 350 #warning CHECK! Are we comparing last_paste to the wrong list > > here? (Lgb) > > 351 if (boost::next(last_paste) != pars.end() && > > 352 paste_the_end) { > > >