Page 1 of 1

Edit / Change

Posted: Tue Apr 14, 2009 6:42 am
by jlbrillet
Edited post.

Sorry, I have to admit the message was not so clear.

The problem occurs whan the changed string contains the string wich is to be changed, for instance when you change "b" into "bc".

With the text :

--------

aaababaa

--------

You get first :

aaabcabaa

then :

aaabccabaa
aaabcccabaa
aaabccccabaa

etc.

and the second b will never be changed.

What happens is that the cursor does not move with the repetition. This is contrary with usage.
With any other editing program you will get :

aaabcabcaa.

I hope this is clearer.

Jean Louis B.

Re: Edit / Change

Posted: Tue Apr 14, 2009 8:06 am
by EViews Gareth
I'm not sure I understand this. How are you doing the change?

Re: Edit / Change

Posted: Wed Jan 19, 2011 9:30 am
by jlbrillet
Sorry, I have to admit the message was not so clear.

The problem occurs whan the changed string contains the string wich is to be changed, for instance when you change "b" into "bc".

With the text :

--------

aaababaa

--------

You get first :

aaabcabaa

then :

aaabccabaa
aaabcccabaa
aaabccccabaa

etc.

and the second b will never be changed.

What happens is that the cursor does not move with the repetition. This is contrary with usage.
With any other editing program you will get :

aaabcabcaa.

I hope this is clearer.

Jean Louis B.

Re: Edit / Change

Posted: Wed Jan 19, 2011 9:56 am
by EViews Gareth
Still not clear what it is that you are actually doing. Could you provide a concrete code example?