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
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
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
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
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();
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?
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
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
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
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
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 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();
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?
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
14 matches
Mail list logo