logic: Refactored Code View to process all contents in one update
* Use unified showCodeSnippets method for setting file information on CodeView * Made async initial file and snippet expansion synced * Add ScrollParams API to CodeView * Regard scope size when scrolling to definition * Only use QtThreadedLambdaFunctor in QtCodeView now
This commit is contained in:
@@ -152,7 +152,6 @@ void UndoRedoController::handleMessage(MessageFinishedParsing* message)
|
||||
msg->isFromSearch = false;
|
||||
}
|
||||
|
||||
command.message->setIsReplayCleared(true);
|
||||
newList.insert(newList.end(), command);
|
||||
}
|
||||
}
|
||||
@@ -469,7 +468,6 @@ void UndoRedoController::replayCommand(std::list<Command>::iterator it)
|
||||
}
|
||||
|
||||
m->dispatch();
|
||||
m->setIsReplayCleared(false);
|
||||
}
|
||||
|
||||
void UndoRedoController::processCommand(Command command)
|
||||
|
||||
Reference in New Issue
Block a user