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 160018 - [Code Format] The second line of a multi-line comment is shifted left by one space
Summary: [Code Format] The second line of a multi-line comment is shifted left by one ...
Status: VERIFIED FIXED
Alias: None
Product: javafx
Classification: Unclassified
Component: Editor (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Anton Chechel
URL:
Keywords:
Depends on:
Blocks: 155841
  Show dependency tree
 
Reported: 2009-03-10 15:31 UTC by Alexandr Scherbatiy
Modified: 2009-04-17 10:32 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 Alexandr Scherbatiy 2009-03-10 15:31:31 UTC
See issue:

Steps to reproduce:

- Copy the code to the editor
-------------------------------------
class A{

    /**
     * This is a                                 // (2)
     * multi-line
     * comment.
     */

    public function foo() {
    }
}
-------------------------------------

- Format the code
The second line of a multi-line comment is shifted left by one space
-------------------------------------
    /**
    * This is a                                 // (2)
     * multi-line
     * comment.
     */
-------------------------------------
Comment 1 Alexandr Scherbatiy 2009-03-10 15:34:14 UTC
See issue 158926
Comment 2 Anton Chechel 2009-03-19 18:27:19 UTC
fixed, old reformat has been disabled
Comment 3 Alexandr Scherbatiy 2009-04-17 10:32:11 UTC
verified