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 271776 - Formatting error when lines starting with '\*' characters.
Summary: Formatting error when lines starting with '\*' characters.
Status: NEW
Alias: None
Product: php
Classification: Unclassified
Component: Formatting & Indentation (show other bugs)
Version: 8.2
Hardware: PC Linux
: P3 normal (vote)
Assignee: issues@php
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-11-09 08:35 UTC by hubbyist
Modified: 2017-11-09 08:35 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 hubbyist 2017-11-09 08:35:48 UTC
After formatting two space characters added to start of a lines which start with '\*' characters.

Before  :
/* ---------------------- *\
 *   Multi Line Comment   *
\* ---------------------- */
After formatting :
/* ---------------------- *\
 *   Multi Line Comment   *
  \* ---------------------- */


## This doesn't work either ##
Before formatting :
/*
 * ---------------------- *
 *   Multi Line Comment   *
\* ---------------------- *
 */
After formatting :
/*
 * ---------------------- *
 *   Multi Line Comment   *
  \* ---------------------- *
 */

## Only this works fine ##
/*
 * ---------------------- *
 *   Multi Line Comment   *
 * ---------------------- *
 */