Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » HTML text typing undo lets view jump
icon5.gif  HTML text typing undo lets view jump [message #487173] Tue, 22 September 2009 10:24 Go to next message
Karsten Wutzke is currently offline Karsten WutzkeFriend
Messages: 124
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 19:17 Go to previous messageGo to next message
Nitin Dahyabhai is currently offline Nitin DahyabhaiFriend
Messages: 4430
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 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 Go to previous message
Karsten Wutzke is currently offline Karsten WutzkeFriend
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

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: Fri Mar 29 01:48:17 GMT 2024

Powered by FUDForum. Page generated in 0.02366 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top