Re: cutting math slowness

2003-02-03 Thread Andre Poenitz
On Sat, Feb 01, 2003 at 01:59:15PM +0100, Lars Gullik Bjønnes wrote: > John Levon <[EMAIL PROTECTED]> writes: > > | In any re-work, it would be nice to bear in mind content negotiation > | for the parser though. > > ??? Maybe things like formula selected in LyX, pasted in text editor -> as LaT

Re: cutting math slowness

2003-02-01 Thread Lars Gullik Bjønnes
Angus Leeming <[EMAIL PROTECTED]> writes: | Lars Gullik Bjønnes wrote: | | > John Levon <[EMAIL PROTECTED]> writes: | > | > | In any re-work, it would be nice to bear in mind content negotiation | > | for the parser though. | > | > ??? | | Read the link that John supplied. All will become cle

Re: cutting math slowness

2003-02-01 Thread Angus Leeming
Lars Gullik Bjønnes wrote: > John Levon <[EMAIL PROTECTED]> writes: > > | In any re-work, it would be nice to bear in mind content negotiation > | for the parser though. > > ??? Read the link that John supplied. All will become clear. -- Angus

Re: cutting math slowness

2003-02-01 Thread Lars Gullik Bjønnes
John Levon <[EMAIL PROTECTED]> writes: | In any re-work, it would be nice to bear in mind content negotiation | for the parser though. ??? -- Lgb

Re: cutting math slowness

2003-01-31 Thread John Levon
On Fri, Jan 31, 2003 at 06:43:27PM +0100, Andre Poenitz wrote: > Would you file a bug and put that URL there? No, not until we have a plan of action of exact things we need to fix. And I'm not going to do that now, there are bigger priorities. In any re-work, it would be nice to bear in mind co

Re: cutting math slowness

2003-01-31 Thread Andre Poenitz
On Fri, Jan 31, 2003 at 05:39:09PM +, John Levon wrote: > > > http://www.jwz.org/doc/x-cut-and-paste.html > > > > Ok. Would be nice if LyX worked that way, wouldn't it? > > Yes. Would you file a bug and put that URL there? Andre' -- Those who desire to give up Freedom in order to gain Sec

Re: cutting math slowness

2003-01-31 Thread John Levon
On Fri, Jan 31, 2003 at 06:35:55PM +0100, Andre Poenitz wrote: > On Fri, Jan 31, 2003 at 05:26:19PM +, John Levon wrote: > > http://www.jwz.org/doc/x-cut-and-paste.html > > Ok. Would be nice if LyX worked that way, wouldn't it? Yes. regards john

Re: cutting math slowness

2003-01-31 Thread Andre Poenitz
On Fri, Jan 31, 2003 at 05:26:19PM +, John Levon wrote: > http://www.jwz.org/doc/x-cut-and-paste.html Ok. Would be nice if LyX worked that way, wouldn't it? Andre' -- Those who desire to give up Freedom in order to gain Security, will not have, nor do they deserve, either one. (T. Jefferson

Re: cutting math slowness

2003-01-31 Thread John Levon
On Fri, Jan 31, 2003 at 10:18:51AM +0100, Andre Poenitz wrote: > > stuffClipboard() does not write to the X-clipboard, it writes to the > > X-selection buffer. > > What's an 'X-selection buffer'? > > Cut buffer 0? Cut buffers are very old hat. http://www.jwz.org/doc/x-cut-and-paste.html regar

Re: cutting math slowness

2003-01-31 Thread Andre Poenitz
On Thu, Jan 30, 2003 at 11:13:06PM +0200, Dekel Tsur wrote: > > I don't follow. If the user does an explict control-X, we must set the > > clipboard to those contents... > > stuffClipboard() does not write to the X-clipboard, it writes to the > X-selection buffer. What's an 'X-selection buffer'?

Re: cutting math slowness

2003-01-30 Thread Dekel Tsur
On Thu, Jan 30, 2003 at 08:52:35PM +, John Levon wrote: > On Thu, Jan 30, 2003 at 10:17:56PM +0200, Dekel Tsur wrote: > > > But we handle X-selection in BufferView::Pimpl::selectionRequested(). > > In LyXText::cutSelection, we should handle the X-clipboard. > > For now, we can just disable thi

Re: cutting math slowness

2003-01-30 Thread John Levon
On Thu, Jan 30, 2003 at 10:17:56PM +0200, Dekel Tsur wrote: > But we handle X-selection in BufferView::Pimpl::selectionRequested(). > In LyXText::cutSelection, we should handle the X-clipboard. > For now, we can just disable this line. I don't follow. If the user does an explict control-X, we mus

Re: cutting math slowness

2003-01-30 Thread Dekel Tsur
On Tue, Jan 28, 2003 at 03:46:24PM +, John Levon wrote: > > void LyXText::cutSelection(BufferView * bview, bool doclear, bool realcut) > > { > > // Stuff what we got on the clipboard. Even if there is no selection. > > > > // There is a problem with having the stuffing here in that the

Re: cutting math slowness

2003-01-28 Thread Andre Poenitz
On Tue, Jan 28, 2003 at 03:46:24PM +, John Levon wrote: > I believe this is working as best as it can at the moment. I don't > understand the comment above, surely cutClipboard is only called once. Nevertheless, it seems to be expensive. I'll try to speed up the math text painter a bit. Thing

Re: cutting math slowness

2003-01-28 Thread John Levon
On Tue, Jan 28, 2003 at 03:12:09PM +0100, Andre Poenitz wrote: > void LyXText::cutSelection(BufferView * bview, bool doclear, bool realcut) > { > // Stuff what we got on the clipboard. Even if there is no selection. > > // There is a problem with having the stuffing here in that the >