src: miscellaneous bug fixes for upcoming release

* only randomize parsing order of source files for multithreaded indexing
* fixed overview not displayed when switching projects due to MessageScrollCode being dispatched
* avoid adding duplicate TokenLocations that causes highlighting to break in QtCodeArea
* clear all controllers when switching project
* maximize unindexed file when clicking title instead of activating it
This commit is contained in:
Eberhard Graether
2016-06-09 12:30:00 +02:00
parent 5173400b8d
commit 7e3b2622ec
33 changed files with 210 additions and 90 deletions
-13
View File
@@ -405,19 +405,6 @@ void QtCodeFile::clickedTitleBar()
void QtCodeFile::clickedTitle()
{
MessageActivateFile(m_filePath).dispatch();
// TODO: check if external file and maximize instead
// MessageChangeFileView msg(
// message->filePath,
// MessageChangeFileView::FILE_MAXIMIZED,
// true,
// false,
// nullptr
// );
// msg.setIsReplayed(message->isReplayed());
// msg.setKeepContent(message->keepContent());
// msg.dispatch();
}
void QtCodeFile::editProject()