Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
update completer if bibitem was changed
  • Loading branch information
sunderme committed May 8, 2024
1 parent a7e6b08 commit c35558f
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions src/latexdocument.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1210,11 +1210,8 @@ void LatexDocument::handleRescanDocuments(HandledData changedCommands){
reCheckSyntax();
}
}while(loopAgain);
if(updateCompleter){
emit updateCompleterCommands();
}
// user commands changed
// update completer & syntax check



// bib files changed
// update bibitem checking and completer
Expand All @@ -1228,6 +1225,12 @@ void LatexDocument::handleRescanDocuments(HandledData changedCommands){
if (elem->edView)
elem->edView->updateCitationFormats();
}
updateCompleter=true;
}
// user commands or bibitems changed
// update completer & syntax check
if(updateCompleter){
emit updateCompleterCommands();
}
}
/*!
Expand Down

0 comments on commit c35558f

Please sign in to comment.