Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Toggle comment (Ctrl-/) scrolls the editor #152

Closed
drapostolos opened this issue Jan 17, 2014 · 16 comments
Closed

Toggle comment (Ctrl-/) scrolls the editor #152

drapostolos opened this issue Jan 17, 2014 · 16 comments

Comments

@drapostolos
Copy link

When using Ctrl-/ (toggle comment) the screen scrolls so the commented line ends up in the middle of the editor. Very annoying. Is there anyway to avoid this behavior?

Example (before toggle comment):
image

Example (after toggle comment):
image

@vladdu
Copy link
Collaborator

vladdu commented Jan 17, 2014

There's no workaround, sorry. You'll have to wait for a fix.

@vladdu
Copy link
Collaborator

vladdu commented Jan 17, 2014

@drapostolos
Copy link
Author

ok, thanks!

@vladdu
Copy link
Collaborator

vladdu commented Apr 28, 2014

fixed in nightly

@drapostolos
Copy link
Author

The nightly link doesn't show anything for me?

image

@vladdu
Copy link
Collaborator

vladdu commented Apr 28, 2014

Ah, I did make some changes to the web server and the files went to the wrong place... It should work now.

@drapostolos
Copy link
Author

Seems to be working better but not perfect, especially when window size is small.

I'm in this position of the window
image

Where CTRL-Shift-C makes the editor jump to this position:
image

If the screen is large enough to fit the complete module it works fine.

I use this version:

image

@vladdu
Copy link
Collaborator

vladdu commented Apr 29, 2014

I'm not sure if that fix is in that version. Please try with today's build.

@drapostolos
Copy link
Author

ok. updating...

@drapostolos
Copy link
Author

same thing when using:
image

@vladdu
Copy link
Collaborator

vladdu commented Apr 29, 2014

Ok, thanks. I tried different combinations and I found one that still has the problem. Will fix it.

@vladdu
Copy link
Collaborator

vladdu commented Apr 29, 2014

My mistake, I had commited only half the change... Works now.

@drapostolos
Copy link
Author

Just updated to:
image

Works better, but not perfect :)

If I start at this position in the editor:
image

each time I toggle CTRL-SHIFT-C the editor moves one line.

After one toggle:
image

Two:
image

Three:
image

Four:
image

and so on...

@vladdu
Copy link
Collaborator

vladdu commented Apr 30, 2014

Weird. I can see that too, I'll check it out.

@vladdu
Copy link
Collaborator

vladdu commented Apr 30, 2014

The problem is somewhere inside Eclipse, maybe I'm using the wrong operation... anyway, I worked around it. I hope it's 100% ok now 😄

@drapostolos
Copy link
Author

Verified

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants