Sometimes when I jump into source code, e.g. from search or when looking up the declaration of something, the Eclipse text editor tries to display nearby long lines by horizontal scrolling. This happens even if the item I jumped to is well within the display without scrolling. I find this rather annoying, so:

Is there a way to disable this? I have searched in vain through all the editor settings.

Specifically, this is about Eclipse CDT, but I suppose the behaviour is the same in JDT.

For the time being I tracked it back to ITextViewer.revealRange().
–
starblueMar 2 '09 at 13:04

@starblue: Interesting. Did you manage to override its behavior ?
–
VonCMar 2 '09 at 14:46

Upvote for the Plugin Spy but where can I get it? ALT + SHIFT + F1 does not bring it up for me here on a Windows 8 machine. Could you look in you installed software and tell me the feature group for it?
–
Daniel SokolowskiJan 30 '14 at 14:56