Java Solaris Communities Sun Store Join SDN My Profile Why Join?
 
Bug Database
Bug Detail
Quick Lists
Top 25 Bugs
Top 25 RFE's
Recently Closed Bugs
Printable Page Printable Page


Bug Database
Bug ID: 4646097
Votes 0
Synopsis With -overviewtree, lines that wrap to the next line should be indented
Category customdoclets:mifdoclet
Reported Against 1.2beta1
Release Fixed
State 11-Closed, Will Not Fix, bug
Priority: 3-Medium
Related Bugs 4648207
Submit Date 02-MAR-2002
Description
In the class hierarchy, the lines can get rather long, and when they
wrap to the next line, they become poorly indented:

     com.package1.Class1.NestedStaticClass (implements 
com.package1.Interface)

The wrapped line should hang at a larger indent:

     com.package1.Class1.NestedStaticClass (implements 
                     com.package1.Interface)


I created a hanging indent at 1.25"
  xxxxx@xxxxx   2002-03-04
Work Around
N/A
Evaluation
Easy.  Fix in template.mif by addding a hanging indent to "ClassTree" style.
Also add a tab stop so the first indent is not so deep.
  xxxxx@xxxxx   2002-03-02

The overview tree was implemented with soft returns (ParaLine) for each
line rather than hard returns (Para).
There's a problem with this.  The problem only occurs
when lines wrap to the next line (which happens a lot with the "implements"
phrase) -- in this case, the wrapped line cannot be indented, which 
makes the tree visually difficult to read.

If we were to indent wrapped lines, then all lines after the first
would be indented as if they were wrapped, because soft returns act like 
line wraps.  (The "Left" indent setting in FrameMaker must be 0 to 
prevent lines after the first from being indented.)

Anyway, the solution is to change all ParaLine to Para.

  xxxxx@xxxxx   2002-03-06
Comments
  
  Include a link with my name & email   


PLEASE NOTE: JDK6 is formerly known as Project Mustang