logic: Fixed activating local symbol location via plugin shows empty code view
* and fixed scroll to line if nothing is found at location
This commit is contained in:
@@ -280,10 +280,10 @@ void CodeController::handleMessage(MessageScrollToLine* message)
|
||||
scrollParams.line = message->line;
|
||||
getView()->scrollTo(scrollParams);
|
||||
|
||||
getView()->showContents();
|
||||
|
||||
MessageStatus(
|
||||
"Showing source location: " + message->filePath.str()
|
||||
+ " : " + std::to_string(message->line) + ". The file was modified, please refresh.",
|
||||
true
|
||||
"Showing source location: " + message->filePath.str() + " : " + std::to_string(message->line)
|
||||
).dispatch();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user