NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
Selection after Undo
Veteran

Joined: 26 Dec 2006
Posts: 253
Location: Phoenix, AZ
Reply with quote
While we're talking about the insertion point and Undo, I'd like to add that I'd prefer PhpED preserve my selection after an Undo. For example, say I have the following code:

foo();
bar();
baz();

All three of those three are selected, and I type "oops". I now have:

oops|

where | represents the insertion point. If I now select Undo, I end up with this:

foo();
bar();
baz();
|

Note that the insertion point is now on the fourth line, after the block of text. What I'd expect instead is for the three lines be selected. This is how it was in the preserved state, and it makes it easier to see where you are and what was changed after an undo, which is especially helpful when you're going through a chain of Undos. Same goes for Redo, actually.

Thanks.
View user's profileFind all posts by bobwilliamsSend private messageVisit poster's website
Selection after Undo
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