Bug 18550 - [navigation] Outline jumps around a lot when cursoring around text
Summary: [navigation] Outline jumps around a lot when cursoring around text
Status: RESOLVED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Text (show other bugs)
Version: 2.0   Edit
Hardware: PC Windows 2000
: P3 normal (vote)
Target Milestone: 3.0 M2   Edit
Assignee: JDT-Text-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: usability
Depends on:
Blocks:
 
Reported: 2002-05-31 21:01 EDT by Nick Edgar CLA
Modified: 2003-07-18 06:48 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nick Edgar CLA 2002-05-31 21:01:31 EDT
Build 20020531

- open any large class, e.g. IWorkbenchGraphicConstants
- move around in it in the editor using the cursor keys, going into and 
between field and/or method declarations
- the outline selects the type when you move between declarations
- this can cause a lot of distracting scrolling (both horizontal and vertical) 
in the outline
- for indented declarations, it also seems incorrect since it selects the type 
when the cursor is at the left of the first line of the declaration

Recommend extending the effective range of one declaration to the start of the 
next one.  It should only select the type when you go up to the type 
declaration (or between the type declaration and the first member).
Comment 1 Ron Baldwin CLA 2003-02-22 17:50:41 EST
I would recommend extending the effective range of a declaration to the *end* of
the *previous* one.  This would cause the declaration's javadoc to be naturally
included as part of the declaration's "space".
Comment 2 Dani Megert CLA 2003-07-18 06:48:37 EDT
Text now uses a post selection listener. The outline will only updated after the
cursor stands still.

Also, Javadoc is part of a Java elements declaration and hence selecting Javadoc
selects the correct element in the Java Outline page.

Verified using I20030717-rebuild