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 253842 - bad text formatting in Macro Expansion tab
Summary: bad text formatting in Macro Expansion tab
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 8.1
Hardware: PC Solaris
: P3 normal (vote)
Assignee: danilasergeyev
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-07-27 09:01 UTC by soldatov
Modified: 2016-07-22 01:51 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 soldatov 2015-07-27 09:01:20 UTC
NetBeans 8.1Beta

Scenario:
- C++ Code:
#define AA(x, y) if ((y) > 5) {\
(x) = (y) + (y);\
}

int main(int argc, char** argv) {
    int i = 1;
    AA(i, 2);
    return 0;
}
- Call Navigate|View Macro Expansion context menu item
- Check Macro Expansion tab
==>
int main(int argc, char** argv) {
    int i = 1;
    if ( ( 2 ) > 5 ) {
                                                                                                                  ( i ) = ( 2 ) + ( 2 ) ;
                                                                                                              };
    return 0;
}

Expected (previous builds):
int main(int argc, char** argv) {
    int i = 1;
    if (( 2 ) > 5) {
        ( i ) = ( 2 ) + ( 2 );
    };
    return 0;
}
Comment 1 danilasergeyev 2015-08-03 12:34:35 UTC
fix, change set:
https://hg.netbeans.org/cnd-main/rev/3a10ef2df7c6
Comment 2 Quality Engineering 2015-08-04 01:15:02 UTC
Integrated into 'main-silver', will be available in build *201508040002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/3a10ef2df7c6
User: Danila Sergeyev <danilasergeyev@netbeans.org>
Log: fix bug #253842 bad text formatting in Macro Expansion tab
Comment 3 Quality Engineering 2016-07-22 01:51:42 UTC
Integrated into 'main-silver', will be available in build *201607220002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/16a221035a67
User: Danila Sergeyev <danilasergeyev@netbeans.org>
Log: fix bug #253842 bad text formatting in Macro Expansion tab