Details
-
Bug
-
Resolution: Fixed
-
P3: Somewhat important
-
Qt Creator 4.0.0
-
None
-
Ubuntu 14.04
Description
When pasting a piece of C++ into the editor, the resulting paste is incorrectly indented if the current file already contains code using some uses of try/catch blocks.
When it occurs varies, but the following case seems to cause it each time:
- Create a file with the content:
struct X { void fn() try { } catch (...) { } void fn2() try { } catch (...) { } int x; };
- Then paste some valid code after the above.
The two try/catch blocks AND the member variable seem to be required.