|
Re: HTML text typing undo lets view jump [message #487335 is a reply to message #487173] |
Tue, 22 September 2009 19:17 |
|
Karsten Wutzke wrote:
> I'm really getting annoyed by a small thing in Eclipse:
>
> Every time I undo a text insert, the view jumps to another place, that
> is, it puts the line I've just edited into the upper third. I don't know
> WHY Eclipse (or the Web plugin?) does it, but I don't like it at all.
>
> Is there a bug that's been filed already? I wish to do so.
"upper third"? Can you double check which editor it is you're using
on this file, and where it came from?
--
---
Nitin Dahyabhai
Eclipse WTP Source Editing
IBM Rational
_
Nitin Dahyabhai
Eclipse Web Tools Platform
|
|
|
Re: HTML text paste undo lets view jump [message #487465 is a reply to message #487335] |
Wed, 23 September 2009 11:04 |
Karsten Wutzke Messages: 124 Registered: July 2009 |
Senior Member |
|
|
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 11:13] Report message to a moderator
|
|
|
Powered by
FUDForum. Page generated in 0.03635 seconds