This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 53727

Summary: Jump to method does not scroll to make the cursor visible
Product: editor Reporter: Marian Petras <mpetras>
Component: Code foldingAssignee: Martin Roskanin <mroskanin>
Status: CLOSED DUPLICATE    
Severity: blocker Keywords: USABILITY
Priority: P3    
Version: 4.x   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:

Description Marian Petras 2005-01-20 09:48:33 UTC
I have code folding enabled and setup so that all
folds are collapsed by default.

When I jump to a source code using action Go To
Source (Alt-O), the corresponding file is open and
the cursor is positioned to the right place (the
line number displayed in the editor status line)
but it is not visible as the view does not
correctly scroll to make the cursor visible. The
cursor does not become visible even after the
opened file is fully parsed. But it becomes
visible as soon as you try to move it, e.g. by
pressing one of the arrow keys.

This happens if I try to move to the source of a
method and the method's class has not yet been
open in the editor. This does not happen always
but it often happens if the class to be opened is
long and contains many methods. For example, try
to jump to method JavaModelPackage.getMultipartId().
Comment 1 Dusan Balek 2005-02-24 16:40:49 UTC
Already fixed.

*** This issue has been marked as a duplicate of 50202 ***
Comment 2 Marian Petras 2005-03-15 09:46:16 UTC
I confirm it seems fixed.
Comment 3 Dusan Balek 2005-03-29 09:25:45 UTC
*** Issue 57058 has been marked as a duplicate of this issue. ***