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 262235 - Mouse click breaks automatic indentations in Macro Expansion View
Summary: Mouse click breaks automatic indentations in Macro Expansion View
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: 2016-05-26 10:18 UTC by soldatov
Modified: 2016-07-21 11:33 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 2016-05-26 10:18:16 UTC
NetBeans 8.1 and Oracle Solaris Studio

C++ code:
==========================================
#define AA(x) if ((x)) {\
i = 2;\
}

int main() {
    int i = 1;
    AA(true);
    return 0;
}
==========================================

Scenario:
- Call context menu in editor and select Navigate|View Macro Expansion
- Check "Macro Expansion" view
==>
..........
    if (( true )) {
        i = 2;
    };
.........
- Click to editor
==>
.........
    if (( true )) {
   i = 2;
};
.........
Comment 1 danilasergeyev 2016-07-21 11:33:40 UTC
fixed in change set:
http://hg.netbeans.org/cnd-main/rev/16a221035a67