Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » PHP Development Tools (PDT) » Ctrl+Z undo shifts view up or down
Ctrl+Z undo shifts view up or down [message #874949] Mon, 21 May 2012 21:00 Go to next message
David Hollingshead is currently offline David HollingsheadFriend
Messages: 37
Registered: January 2010
Member
There are times when I hit Ctrl+Z to undo something, and the view shifts up or down, leaving me a little disoriented. It seems to be random right now as I'm not sure what circumstances cause it to happen.

[Updated on: Mon, 21 May 2012 21:02]

Report message to a moderator

Re: Ctrl+Z undo shifts view up or down [message #874974 is a reply to message #874949] Mon, 21 May 2012 22:07 Go to previous messageGo to next message
David Hollingshead is currently offline David HollingsheadFriend
Messages: 37
Registered: January 2010
Member
I just found one way it does it. If I'm typing in a style in a div tag and I paste a color without the # symbol, then hit Ctrl+Z, it shifts the page up several lines.
Re: Ctrl+Z undo shifts view up or down [message #1593817 is a reply to message #874974] Fri, 30 January 2015 22:43 Go to previous messageGo to next message
David Hollingshead is currently offline David HollingsheadFriend
Messages: 37
Registered: January 2010
Member
I just discovered this happens if I type some code in a .php file with HTML in it, switch to another program (like the browser), then come back and hit Ctrl+Z, it flips the view up and the line I'm looking at is now down the screen, throwing me off.

Is there a fix for this?! It's driving me nuts.
Re: Ctrl+Z undo shifts view up or down [message #1593828 is a reply to message #1593817] Fri, 30 January 2015 22:53 Go to previous messageGo to next message
David Hollingshead is currently offline David HollingsheadFriend
Messages: 37
Registered: January 2010
Member
It seems like it's shifting back to the view placement I had at the time I added the code, so if my viewport was showing lines 43 - 100, it will try to shift back to that view even if the code is already in the view, making an unnecessary and disorienting code shift.

Please is there any way to make it not shift the view if the code is already in view?

Also if it is not in view, how does it decide how to show the line in the viewport?
Re: Ctrl+Z undo shifts view up or down [message #1600878 is a reply to message #1593828] Wed, 04 February 2015 15:02 Go to previous message
Dawid Pakula is currently offline Dawid PakulaFriend
Messages: 116
Registered: March 2013
Senior Member
I'm unable to reproduce. Can you provide sample code and more detailed instruction? In this case any screencast will be helpfull.

Previous Topic:Internal Web Browser isn't desplaying
Next Topic:Disable closing ")" when using content assist suggestions
Goto Forum:
  


Current Time: Wed May 27 20:09:17 GMT 2015

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

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