Bug 367228 - [projection] When expanding-all code, the cursor often moves off the screen
Summary: [projection] When expanding-all code, the cursor often moves off the screen
Status: CLOSED DUPLICATE of bug 96953
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Text (show other bugs)
Version: 3.8   Edit
Hardware: PC Windows 7
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: JDT-Text-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: needinfo
Depends on:
Blocks:
 
Reported: 2011-12-20 12:46 EST by Nathan Reynolds CLA
Modified: 2011-12-20 15:25 EST (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 Nathan Reynolds CLA 2011-12-20 12:46:33 EST
Build Identifier: 20110916-0149

Bug 232939 is for C++ code.  Please do the same in Java code.

Reproducible: Always
Comment 1 Deepak Azad CLA 2011-12-20 14:08:29 EST
I cannot reproduce the caret moving around behavior in Java editor. Can you please provide the exact steps to reproduce?
Comment 2 Nathan Reynolds CLA 2011-12-20 14:41:03 EST
1. Open a Java file with more lines that can fit on the screen when fully expanded (e.g. 100+ lines).
2. Right-click in the gutter and select Folding | Collapse All.
3. Put the cursor at the very bottom of the file.
4. Right-click in the gutter and select Folding | Expand All.
5. Notice that the line with the cursor is no where to be found on the screen.
6. Notice that if you press the up arrow, the line scrolls into view.
Comment 3 Deepak Azad CLA 2011-12-20 14:56:45 EST
Thanks Nathan! I can reproduce now. 

This looks like [duplicate of/similar to] bug 96953.
Comment 4 Nathan Reynolds CLA 2011-12-20 15:25:27 EST

*** This bug has been marked as a duplicate of bug 96953 ***