|
|
Re: HTML text paste undo lets view jump [message #487465 is a reply to message #487335] |
Wed, 23 September 2009 07:04  |
Eclipse User |
|
|
|
Sorry, the information I gave wasn't quite correct. The described behavior only happens when undoing just pasted text.
To repeat:
1. Open some HTML document
2. Copy or Cut some text from anywhere you want
3. In your text view, paste it somewhere rather near the lower end.
4. Undo
As you can see, the view jumps to the top. The cursor sits on view line #11 (index = 10).
Im using PHP Eclipse 3.5 as offered in the Eclipse download area (Windows binary). It was the first release, I think from end of June 2009.
As I'm thinking about it this behavior makes sense for text changes currently out of the view, but it's really annoying for changes happening only within the view: It's really annoying when you are writing larger HTML files and you just move (cut operation) sentences around, e.g. on the current view. Maybe there's something you can implement like:
"When the undone text passage is in the current view, leave view as is (do nothing, the user can see it anyway), otherwise we're out of this view, so jump to reinsert place."
Is this feasible?
Karsten
PS: I changed the title.
[Updated on: Wed, 23 September 2009 07:13] by Moderator
|
|
|
Powered by
FUDForum. Page generated in 0.03828 seconds