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.

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?

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."