Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » HTML text typing undo lets view jump
icon5.gif  HTML text typing undo lets view jump [message #487173] Tue, 22 September 2009 06:24 Go to next message
Karsten Wutzke is currently offline Karsten Wutzke
Messages: 112
Registered: July 2009
Senior Member
Hello,

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.

Karsten
Re: HTML text typing undo lets view jump [message #487335 is a reply to message #487173] Tue, 22 September 2009 15:17 Go to previous messageGo to next message
Nitin Dahyabhai is currently offline Nitin Dahyabhai
Messages: 2251
Registered: July 2009
Senior Member
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 WTP, IBM
Re: HTML text paste undo lets view jump [message #487465 is a reply to message #487335] Wed, 23 September 2009 07:04 Go to previous message
Karsten Wutzke is currently offline Karsten Wutzke
Messages: 112
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 07:13]

Report message to a moderator

Previous Topic:Extend the XML of SSE or Write a new one?
Next Topic:Error deploying webapp on local Tomcat in Windows 7
Goto Forum:
  


Current Time: Sat Aug 30 10:43:16 EDT 2014

Powered by FUDForum. Page generated in 0.01703 seconds