Bug 37041 - [misc] "Show Source of Selected Element Only" should hide element-wide indent
Summary: [misc] "Show Source of Selected Element Only" should hide element-wide indent
Status: ASSIGNED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Text (show other bugs)
Version: 2.1   Edit
Hardware: PC Windows XP
: P3 enhancement with 2 votes (vote)
Target Milestone: ---   Edit
Assignee: JDT-Text-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-04-29 06:01 EDT by Simon Tardell CLA
Modified: 2004-04-14 12:07 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 Simon Tardell CLA 2003-04-29 06:01:23 EDT
An element, such as a method will often, as a whole, be indented with regards 
to the class body. When you only show one element at a time, seeing this 
indentation conveys no extra information (since you can't scroll to see the 
class). It does waste screen real estate, though.

The editor should hide that the method (or other element) is indented 
when "Show Source of Selected Element Only" is selected. In a sense, the white 
space to the left of a method could be regarded as belonging to the class 
rather than the method.