NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
Change to Undo behaviour


Joined: 10 Feb 2004
Posts: 93
Reply with quote
I know there has been a lot of discussion about the behavior of the undo feature, but I searched, and didnt find any threads matching this wish.

Let's say I've typed out the following
Code:
if(is_nan())

but what i really wanted was is_null(), i just accepted the first match (code completion) too fast. When I activate the undo, it undoes not only my selection of is_nan() but also the if() and pretty much everything else on the same line.

Is there anyway we can just have it undo the last action (the selection of is_nan()) instead of the whole line?
View user's profileFind all posts by gilzowSend private messageAIM Address
Site Admin

Joined: 13 Jul 2003
Posts: 8344
Reply with quote
you may want to turn off Group Undo option

_________________
The PHP IDE team
View user's profileFind all posts by dmitriSend private messageVisit poster's website


Joined: 10 Feb 2004
Posts: 93
Reply with quote
close, but not quite there. Turning off Group Undo leaves me with the following (using my example from above):
Code:
if(|is_n)

where the | is the cursor. So, can PhpED be altered so that when you undo, it either places the cursor at the last place before the selection :
Code:
if(is_n|)

or, remove what had been typed last
Code:
if(|)

?

As it stands now, you have to manually move your cursor to the end of the function you had been typing and resume, or wipe it out altogether.

As a side, I think it would be beneficial to elaborate on some of these options in the help file. "Similar operations" is a bit vague.
View user's profileFind all posts by gilzowSend private messageAIM Address
Change to Undo behaviour
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 Reply to topic