Now the editor is scrolled to the very first line of 'definition'.
In case of multiline method viewport should be properly scrolled to show whole method or maximum of top lines.
Another technique is to scroll "target line" just to the center of visible area.
Now the editor is scrolled to the very first line of 'definition'.
In case of multiline method viewport should be properly scrolled to show whole method or maximum of top lines.
Another technique is to scroll "target line" just to the center of visible area.