Skip to content

Commit

Permalink
fix spell checking in tikzpicture (disabled again)
Browse files Browse the repository at this point in the history
  • Loading branch information
sunderme committed Dec 24, 2024
1 parent e171cf9 commit 3328546
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/syntaxcheck.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -811,7 +811,7 @@ void SyntaxCheck::checkLine(const QString &line, Ranges &newRanges, StackEnviron
}
}
word = latexToPlainWordwithReplacementList(word, mReplacementList); //remove special chars
if (speller->hideNonTextSpellingErrors && (checkMathEnvActive(activeEnv)||containsEnv("picture", activeEnv)) ){
if (speller->hideNonTextSpellingErrors && (checkMathEnvActive(activeEnv)||containsEnv("picture", activeEnv)||containsEnv("pictureHighlight", activeEnv)) ){
word.clear();
tk.ignoreSpelling=true;
}else{
Expand Down

0 comments on commit 3328546

Please sign in to comment.