Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
Qt Creator 2.0.0, Qt Creator 2.0.1
-
None
-
6efdc7cff0937efeea89a5f98df725a08f1c70a2
Description
This is a scaring issue that will eat your code when you won't notice....
Steps to reproduce:
1. Create or open any cpp file. Qt Creator must be configured to insert tabs, and not spaces, for identation.
2. Type something like this:
void foo() { int bar; //<- idented with a tab }
3. Fold the foo function, then save the file... The body of the function is gone...
Tested on Windows 7 64 bits with Qt Creator 2.0.1 (Pre-2.0.1) - Built on Aug 18 2010 at 02:03:27 - From revision fee9647f89
Attachments
Issue Links
- relates to
-
QTCREATORBUG-3521 auto-indent eats (deletes) code in collapsed sections
- Closed
- replaces
-
QTCREATORBUG-2458 Saving file removes code
- Closed