mirror of
https://github.com/SpartanJ/eepp.git
synced 2026-05-30 01:56:31 +03:00
Fix Objective-C highlighter.
Added Objective-C++ highlighter (SpartanJ/ecode#616). Replaced "Treat .h file as C++" in favor of "Treat .h files as..." with multiple options, including auto-detection (SpartanJ/ecode#614). Refresh semantic-highlighting after syntax highlighter change.
This commit is contained in:
@@ -695,7 +695,7 @@ void GlobalSearchController::updateGlobalSearchBarResults(
|
||||
const std::string& search, std::shared_ptr<ProjectSearch::ResultModel> model,
|
||||
bool searchReplace, bool isEscaped ) {
|
||||
updateGlobalSearchBar();
|
||||
mGlobalSearchTree->hAsCPP = mApp->getProjectDocConfig().hAsCPP;
|
||||
mGlobalSearchTree->hExtLanguageType = mApp->getProjectDocConfig().hExtLanguageType;
|
||||
mGlobalSearchTree->setSearchStr( search );
|
||||
mGlobalSearchTree->setModel( model );
|
||||
if ( mGlobalSearchTree->getModel()->rowCount() < 50 )
|
||||
|
||||
Reference in New Issue
Block a user