Bug 484237 - "Show selected element only" should vertically center selected element
Summary: "Show selected element only" should vertically center selected element
Status: ASSIGNED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Text (show other bugs)
Version: 4.5.1   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: JDT-Text-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: bugday
Depends on:
Blocks:
 
Reported: 2015-12-11 12:43 EST by Anon Account CLA
Modified: 2015-12-17 10:18 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 Anon Account CLA 2015-12-11 12:43:11 EST
"Show selected element only" is fantastic. I'd be even better if the selected element was vertically centered (margins on the top and bottom) when it's too small for the screen. This would have a more prominent effect with small methods and vertical monitors. Thanks for your time and your work :).
Comment 1 Dani Megert CLA 2015-12-15 05:36:42 EST
I assume that you'd still like to align to the top if it exceeds the screen, right?

We won't change the current behavior, but would accept a high quality patch that adds such an option.
Comment 2 Anon Account CLA 2015-12-17 10:18:23 EST
Yeah, it'd be top-aligned if it's too big. Thinking about it it _could_ get annoying if it re-centered after hitting enter/C-d... but I'd still like to try it. I'll add it to my (ever-expanding) backlog and head back here when I have more time and a patch :). Thanks!