This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 150259 - javadoc Formating: does not respect indents after <enter>
Summary: javadoc Formating: does not respect indents after <enter>
Status: VERIFIED FIXED
Alias: None
Product: javafx
Classification: Unclassified
Component: Editor (show other bugs)
Version: 6.x
Hardware: All Windows Vista
: P3 blocker (vote)
Assignee: Anton Chechel
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-10-15 16:22 UTC by Lark Fitzgerald
Modified: 2009-04-15 09:17 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lark Fitzgerald 2008-10-15 16:22:49 UTC
Tested using FX Cont trunk build 370 with SDK:
Product: javafx-1.0dev, Platform: windows-i586, Build-Number: 742, Build-ID: 2008-10-14_19-32-24 on NB6.5: 
Product Version: NetBeans IDE Dev (Build 200810130704)
Java: 1.6.0_10-rc; Java HotSpot(TM) Client VM 11.0-b14
System: Windows Vista version 6.0 running on x86; Cp1252; en_US (nb)

If you have indented javadoc comments and press enter, it always puts the ' *'.

1. paste
/**
 * A Simple Test It Class
 * @author Lark
 */
public class NewJavaFXEmpty {
    /** First Name */
    var firstName : String = "Test";

    /** Last Name */
    var age : Number = 39;

    /** 
     * A Foo Function
     * @param   a   A simple string
     * @return      A test String
     */
    function Foo (a:String):String {
        return "test"
    }
}

2. Go to javadoc before Foo and press enter at any point.  You end up with ' *' instead of matching indents for '*'
Comment 1 Anton Chechel 2008-10-16 16:50:21 UTC
formating - forwarding to Rast'a
Comment 2 Rastislav Komara 2009-03-02 10:13:37 UTC
reassigning to new owner.
Comment 3 Anton Chechel 2009-03-19 18:32:10 UTC
fixed, old reformat has been disabled
Comment 4 Alexandr Scherbatiy 2009-04-15 09:17:13 UTC
verified