src: more bug fixes
* fixed snippets added twice on token reactivation for errors and fulltext search results * fixed colorscheme gets refreshed when cancelling preferences * scroll to first line in errors table after indexing and showing view * fixed file not properly expanded when snippet covers full file * fixed project type naming in project setup * fixed set delimiter of NameHierarchy for projects that can't be loaded yet * changed language order for project setup
This commit is contained in:
@@ -366,7 +366,8 @@ void CodeController::handleMessage(MessageShowErrors* message)
|
||||
|
||||
view->clear();
|
||||
view->setErrorInfos(errors);
|
||||
view->showCodeSnippets(snippets, std::vector<Id>(), !message->errorId);
|
||||
view->showCodeSnippets(
|
||||
snippets, std::vector<Id>(), !message->errorId && (!message->isReplayed() || message->isReplayCleared()));
|
||||
|
||||
showContents(message);
|
||||
}
|
||||
@@ -385,7 +386,8 @@ void CodeController::handleMessage(MessageSearchFullText* message)
|
||||
view->clear();
|
||||
|
||||
m_collection = m_storageAccess->getFullTextSearchLocations(message->searchTerm, message->caseSensitive);
|
||||
view->showCodeSnippets(getSnippetsForCollection(m_collection, true), std::vector<Id>(), true);
|
||||
view->showCodeSnippets(
|
||||
getSnippetsForCollection(m_collection, true), std::vector<Id>(), !message->isReplayed() || message->isReplayCleared());
|
||||
|
||||
showContents(message);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user