All nodes in the view were at the top level due to a spurious trimmed()
call.
The condition in the indentation calculation was flipped, leading to a
segfault. Also, the input data does not contain tabs. Remove the
condition that checks for tabs altogether.
This amends commit
|
||
|---|---|---|
| .. | ||
| resources | ||
| CMakeLists.txt | ||
| main.cpp | ||
| mainwindow.cpp | ||
| mainwindow.h | ||
| treemodelcompleter.cpp | ||
| treemodelcompleter.h | ||
| treemodelcompleter.pro | ||
| treemodelcompleter.qrc | ||