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 173900 - wrong formatting of comments if <??> tags are not aligned with code
Summary: wrong formatting of comments if <??> tags are not aligned with code
Status: RESOLVED FIXED
Alias: None
Product: php
Classification: Unclassified
Component: Formatting & Indentation (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Petr Pisl
URL:
Keywords: REGRESSION
Depends on:
Blocks:
 
Reported: 2009-10-06 19:01 UTC by Filip Zamboj
Modified: 2009-10-28 11: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 Filip Zamboj 2009-10-06 19:01:26 UTC
Product Version: NetBeans IDE 6.8 Beta (Build 200910020947)
Java: 1.6.0_16; Java HotSpot(TM) 64-Bit Server VM 14.2-b01

    <?php
// mam tu zase nejaky koment | <-- press enter 
// aj tu mam nejaky problem
    ?>

    <?php
// mam tu zase nejaky koment  
   |  //   <-- this is the result 
// aj tu mam nejaky problem
    ?>

should be: 
    <?php
// mam tu zase nejaky koment  
// | 
// aj tu mam nejaky problem
    ?>

a unit test added to php/editor   formatting/qa/issues
Comment 1 Filip Zamboj 2009-10-06 19:13:06 UTC
unit test moved to indent/qa/issues/173900.php and commented out until issue is fixed 
Comment 2 Quality Engineering 2009-10-09 22:55:47 UTC
Integrated into 'main-golden', will be available in build *200910091401* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/abcc962be4a1
User: Filip Zamboj <fzamboj@netbeans.org>
Log: unit test for #173900 added but commented out until issue is fixed
Comment 3 Filip Zamboj 2009-10-26 20:05:36 UTC
works in 6.7.1 and doesn't in 6.8 => regression 
Comment 4 Petr Pisl 2009-10-27 15:21:12 UTC
Fixed and improved  a little in web-main. 
Comment 5 Quality Engineering 2009-10-28 11:35:29 UTC
Integrated into 'main-golden', will be available in build *200910280201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/f8276e2a0197
User: Petr Pisl <ppisl@netbeans.org>
Log: issue #173900 - wrong formatting of comments if <??> tags are not aligned with code