MyEclipse: How to keep java editor from auto scrolling up and down?
bhoppe - Jul 13, 2012 - 11:55 PM
Post subject: How to keep java editor from auto scrolling up and down?
I don't know what this option is or how to disable it. All I know is it is very annoying. It seems that certain edits cause the Java editor in MyEclipse to scroll up or down.
For example, in an already existing class file, if I begin typing a new method at the bottom of the editor, MyEclipse will auto scroll the editor so that the method is now at the top of the page.
Anyone know how I can turn this "feature" off?
support-swapna - Jul 16, 2012 - 06:57 AM
Sorry that you are seeing this issue. I am afraid this is an Eclipse issue. As MyEclipse is based on Eclipse, you are seeing the issue in MyEclipse too.
Here are some links to similar issues being reported in Eclipse :
I suggest you check on Eclipse forums and raise a bug against Eclipse for this issue.
Hope this helps.
florianf - Apr 30, 2013 - 01:48 PM
I have the same issue.
But since I am paying a license fee for MyEclipse, and not for Eclipse, I feel it is still your responsibility to look into the problem.
PS: I discovered the links you provide point to another bug. Maybe the solution of that bug created this one.
My problem is for instance that when I start a comment in the middle of the window, I type the 2 characters '/*' and suddenly the whole text scrolls up to have the comment start at the top of the screen. Also, when I erase a few lines, the window repositions.
This whole jumping up and down is distracting. And it is perfectly useless since it is easy to scroll with the scroll wheel or with ctrl-up and crtl-down.
A probably related problem is that this repositionning clears the current selection. If I delete code piecewise, I would hold the shift button pressed and press a few times [up] to select a few lines of code and then [del] to delete it. If I don't wait for the window to reposition, and i press again [up] to select some more lines with [up], then the repositionning of the window also deselects the lines in question. This is not only annoying, it is wrong.
So I am looking for a way to disable this annoying and buggy autoscroll behavior.
support-swapna - May 02, 2013 - 10:16 AM
Sorry that you are seeing these issues. I could not replicate the issues at my end on MyEclipse 10.7.1 and MyEclipse 2013.
Can you please share the MyEclipse Installation Details from MyEclipse > Installation Summary > Installation Details to help us investigate further?
florianf - May 02, 2013 - 10:43 AM
This is really distracting. I need to revert to a previous version. This behaviour appeared since I installed version 10.7.1.
In the meantime I could identify more precisely what is going on with the current selection:
When I do any edition, after 1/2 second, the "autoscroll" behaviour executes. If in that fraction of a second I select text backwards (with shift-left), my text is first selected with the cursor at the beginning of the selected text. But the autoscroll process reverses the selection, regardless if it actually scrolls, moving the cursor at the end of the selected bloc. If now I press a second time shift-left, the current selection is not what it is supposed to be.
If you press quickly: ASDF(shift-left)(wait 1 sec)(shift-left)(shift-left)
The expected behaviour is that 'SDF' is selected.
The actual behaviour is that only 'D' is selected.
And the unexpected scrolling is still annoying.
florianf - May 02, 2013 - 10:44 AM
jeudi, 2. mai 2013 11.43. h CEST
*** System properties:
*** Subscription information
Product Id: E3MP (MyEclipse Professional Subscription)
License version: 3.0
Full Maintenance Included
Subscription expiration date (YYYYMMDD): 20131004
Number of users: 30
*** Eclipse details:
MyEclipse Enterprise Workbench
Build id: 10.7-20121026
Blueprint: MyEclipse 10
Eclipse startup command=-os
C:\Program Files\Genuitec\MyEclipse 10.7\myeclipse.exe
C:\Program Files\Genuitec\MyEclipse 10.7\../Common/plugins/org.eclipse.equinox.launcher.i18n.win32.win32.x86_4.2.0.v201201111650\eclipse_4201.dll
C:\Program Files\Genuitec\MyEclipse 10.7\../Common/plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar
C:\Program Files\Genuitec\MyEclipse 10.7
C:\Program Files\Genuitec\MyEclipse 10.7\configuration
Support-Brian - May 02, 2013 - 04:30 PM
Several of us tried to reproduce both the scrolling and the selection problems. One was able to reproduce the selection problem on 10.7.1 but not the comment-scroll issue. The rest of us could not reproduce either problem.
The autoscrolling, especially in the Java editor is very odd - as Swapna pointed out earlier, we don't modify the Java editor but I agree it our responsibility to investigate the issue.
I have a few questions:
1) Do you have any other plugins installed? Especially plugins like Mylyn for instance.
2) Some views have a "link with editor" option. In some cases, typing something could trigger a selection of that item in the view, which in turn feeds back into the editor, resulting in that item scrolling to the top. Obviously, this should not happen, but this is one possible explanation.
To test this, can you try closing all views, with only the editor open and then restart MyEclipse in this state. Can you still reproduce either problem?
If yes, please attach a screenshot of your workspace. If not, you could try opening the views one by one to see if any one of them appears to be triggering the behavior.
3) In the case of some odd workspace preference causing this behavior, can you try switching to a new workspace and see if you can reproduce the problem with a dummy project there?
4) The one tester who could reproduce the selection problem with 10.7.1 could not reproduce it with MyEclipse 2013. Is moving to 2013 an option for you?
Hopefully we'll be able to get to the bottom of this shortly.
All times are GMT - 6 Hours
Powered by PNphpBB2
© 2003-2004 The PNphpBB GroupCredits