Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
sunderme committed Nov 12, 2023
1 parent d97a61b commit 2880cb8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/latexdocument.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1434,9 +1434,9 @@ void LatexDocument::patchStructure(int linenr, int count, bool recheck)

//update view
if (edView){
edView->documentContentChanged(linenr, count);
reCheckSyntax(lineNrStart,count);
edView->checkGrammar(linenr,count);
edView->documentContentChanged(linenr, newCount);
reCheckSyntax(lineNrStart,newCount);
edView->checkGrammar(linenr,newCount);
}
#ifndef QT_NO_DEBUG
if (!isHidden())
Expand Down

0 comments on commit 2880cb8

Please sign in to comment.