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.
Steps: - Open this file in editor: ------------------------------ #include <stdio.h> #include <stdlib.h> #define AAAAAA 12345 #if AAAAAA ==\ 12345 #define BBB "1" #else #define BBB "2" #endif int main(int argc, char** argv) { puts(BBB); return (EXIT_SUCCESS); } ------------------------------ ==> I see in editor (wrong code folds position): #if AAAAAA ==\ + 12345 | | #define BBB "1" |#else | #define BBB "2" -#endif Should be: + #if AAAAAA ==\ | 12345 | | #define BBB "1" |#else | #define BBB "2" -#endif
this is correct behavior, because when we collapse fold it should be collapsed into: #if AAAAAA ==\ [+] 12345 [...] to see the full #if statement
closed