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 - Jump to method does not scroll to make the cursor visible
Summary: Jump to method does not scroll to make the cursor visible
Status: CLOSED DUPLICATE of bug 50202
Alias: None
Product: editor
Classification: Unclassified
Component: Code folding (show other bugs)
Version: 4.x
Hardware: PC Linux
: P3 blocker (vote)
Assignee: Martin Roskanin
URL:
Keywords: USABILITY
: 57058 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-01-20 09:48 UTC by Marian Petras
Modified: 2007-11-05 13:39 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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. ***