diff --git a/gpt4all-chat/chatviewtextprocessor.cpp b/gpt4all-chat/chatviewtextprocessor.cpp index f8dad8a1..e1e9805d 100644 --- a/gpt4all-chat/chatviewtextprocessor.cpp +++ b/gpt4all-chat/chatviewtextprocessor.cpp @@ -899,8 +899,6 @@ void ChatViewTextProcessor::handleTextChanged() QTextCursor cursor(doc); QString invisibleCharacter = QString(QChar(0xFEFF)); cursor.insertText(invisibleCharacter, QTextCharFormat()); - - m_syntaxHighlighter->rehighlight(); m_isProcessingText = false; }