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.
First of all I had to create a custom key-mapping in Options/Keymap for the "Re-indent Current Line or Selection" action. In my case I mapped it to "CTRL+EQUALS". Then when working in a .cpp file, if I select multiple lines and press the aforementioned key combination, only the first line of that selection will get re-indented. I would expect all lines in the selection to be re-indented. Interestingly, in .java files this does work as I expect (ie. all of the selected lines get re-indented).
fixed, change set: http://hg.netbeans.org/cnd-main/rev/01bda88ee727
Integrated into 'main-silver', will be available in build *201402120001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/01bda88ee727 User: Alexander Simon <alexvsimon@netbeans.org> Log: fixed Bug #212436 Re-indent action on multi-line Selection only re-indents first line in .cpp files