Veteran
Joined: 26 Dec 2006 |
Posts: 253 |
Location: Phoenix, AZ |
|
|
Posted: Wed Jan 17, 2007 5:20 pm |
|
|
|
|
|
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.
|
|