Editors: Make sure folded blocks remain consistent
When folding indents change and a block becomes no longer folded we need to update the user data. This patch tries to handle general inconsistencies that might arise in such situations. Notice however that there are stil other problems to be addressed (including issues in Qt). Task-number: QTCREATORBUG-5771 Change-Id: I38b869832159598d46cde00058308c218ca31f1a Reviewed-on: http://codereview.qt.nokia.com/2908 Reviewed-by:Robert Löhning <robert.loehning@nokia.com> Reviewed-by: Matthias Ettrich
Showing
- src/plugins/cppeditor/cpphighlighter.cpp 4 additions, 0 deletionssrc/plugins/cppeditor/cpphighlighter.cpp
- src/plugins/texteditor/basetextdocumentlayout.cpp 66 additions, 0 deletionssrc/plugins/texteditor/basetextdocumentlayout.cpp
- src/plugins/texteditor/basetextdocumentlayout.h 16 additions, 0 deletionssrc/plugins/texteditor/basetextdocumentlayout.h
- src/plugins/texteditor/syntaxhighlighter.cpp 10 additions, 0 deletionssrc/plugins/texteditor/syntaxhighlighter.cpp
Loading
Please register or sign in to comment