Re: [PATCH] minor bibitem tweaks

2005-06-05 Thread Juergen Spitzmueller
Martin Vermeer wrote: Forget this. Try this (tested): It's still not ideal. Ideally, the cursor should jump over pos 0 (that is, go to lastpos of the par above or, in the other direction, jump from the lastpos to pos 1), and it should be possible to merge two lines with backspace (In your

Re: [PATCH] minor bibitem tweaks

2005-06-05 Thread Martin Vermeer
On Sun, Jun 05, 2005 at 02:30:59PM +0200, Juergen Spitzmueller wrote: Martin Vermeer wrote: Forget this. Try this (tested): It's still not ideal. Ideally, the cursor should jump over pos 0 (that is, go to lastpos of the par above or, in the other direction, jump from the lastpos to pos

Re: LyX meeting in Paris. What about July 14-18?

2005-06-05 Thread Martin Vermeer
On Fri, May 20, 2005 at 11:31:15PM +0200, Jean-Marc Lasgouttes wrote: Lars == Lars Gullik Bjønnes [EMAIL PROTECTED] writes: Lars So July 14-18 (the 16. weekend) it is? Yes sir! JMarc Assuming this is 'hard' now... I'll book my tickets tomorrow evening. Looking forward to it. - Martin

Re: LyX meeting in Paris. What about July 14-18?

2005-06-05 Thread Lars Gullik Bjønnes
Martin Vermeer [EMAIL PROTECTED] writes: | On Fri, May 20, 2005 at 11:31:15PM +0200, Jean-Marc Lasgouttes wrote: Lars == Lars Gullik Bjønnes [EMAIL PROTECTED] writes: Lars So July 14-18 (the 16. weekend) it is? Yes sir! JMarc | Assuming this is 'hard' now... I'll book my tickets

C++ question

2005-06-05 Thread Angus Leeming
I feel like a bit of an idiot asking this, but what's the C++ way to insert some data into an existing file? I tried this: std::fstream fs(configure_file); std::string buffer; bool success = false; while (fs) { std::fstream::pos_type const start_of_line = fs.tellp();

Re: C++ question

2005-06-05 Thread Lars Gullik Bjønnes
Angus Leeming [EMAIL PROTECTED] writes: | I feel like a bit of an idiot asking this, but what's the C++ way to | insert some data into an existing file? How would you do it in any other language? At end is easy. At start is more tricky... If it were a memory buffer how would you do it then?

Re: [Patch] Re: [patch] key event queue

2005-06-05 Thread Martin Vermeer
On Wed, Jun 01, 2005 at 03:12:05PM +0300, Martin Vermeer wrote: On Wed, Jun 01, 2005 at 01:31:55PM +0200, Lars Gullik Bjønnes wrote: Martin Vermeer [EMAIL PROTECTED] writes: ... OK, that settles it then for me: put in the event queue and reverse the new stuff in workAreaKeyPress to a

Re: [PATCH] minor bibitem tweaks

2005-06-05 Thread Juergen Spitzmueller
Martin Vermeer wrote: > Forget this. Try this (tested): It's still not ideal. Ideally, the cursor should "jump over" pos 0 (that is, go to lastpos of the par above or, in the other direction, jump from the lastpos to pos 1), and it should be possible to merge two lines with backspace (In your

Re: [PATCH] minor bibitem tweaks

2005-06-05 Thread Martin Vermeer
On Sun, Jun 05, 2005 at 02:30:59PM +0200, Juergen Spitzmueller wrote: > Martin Vermeer wrote: > > Forget this. Try this (tested): > > It's still not ideal. Ideally, the cursor should "jump over" pos 0 (that is, > go to lastpos of the par above or, in the other direction, jump from the > lastpos

Re: LyX meeting in Paris. What about July 14-18?

2005-06-05 Thread Martin Vermeer
On Fri, May 20, 2005 at 11:31:15PM +0200, Jean-Marc Lasgouttes wrote: > > "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes: > > Lars> So July 14-18 (the 16. weekend) it is? > > Yes sir! > > JMarc Assuming this is 'hard' now... I'll book my tickets tomorrow evening. Looking forward

Re: LyX meeting in Paris. What about July 14-18?

2005-06-05 Thread Lars Gullik Bjønnes
Martin Vermeer <[EMAIL PROTECTED]> writes: | On Fri, May 20, 2005 at 11:31:15PM +0200, Jean-Marc Lasgouttes wrote: >> > "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes: >> >> Lars> So July 14-18 (the 16. weekend) it is? >> >> Yes sir! >> >> JMarc > | Assuming this is 'hard' now...

C++ question

2005-06-05 Thread Angus Leeming
I feel like a bit of an idiot asking this, but what's the C++ way to insert some data into an existing file? I tried this: std::fstream fs(configure_file); std::string buffer; bool success = false; while (fs) { std::fstream::pos_type const start_of_line = fs.tellp();

Re: C++ question

2005-06-05 Thread Lars Gullik Bjønnes
Angus Leeming <[EMAIL PROTECTED]> writes: | I feel like a bit of an idiot asking this, but what's the C++ way to | insert some data into an existing file? How would you do it in any other language? At end is easy. At start is more tricky... If it were a memory buffer how would you do it then?

Re: [Patch] Re: [patch] key event queue

2005-06-05 Thread Martin Vermeer
On Wed, Jun 01, 2005 at 03:12:05PM +0300, Martin Vermeer wrote: > On Wed, Jun 01, 2005 at 01:31:55PM +0200, Lars Gullik Bjønnes wrote: > > Martin Vermeer <[EMAIL PROTECTED]> writes: ... > OK, that settles it then for me: put in the event queue and reverse the > new stuff in workAreaKeyPress to