From fefc1f19c751b75dff49d8360c1ffb2f28d1acd0 Mon Sep 17 00:00:00 2001 From: AT Date: Mon, 1 Jul 2024 07:58:37 -0400 Subject: [PATCH] This is unnecessary and was a mistake to include. (#2496) Signed-off-by: Adam Treat --- gpt4all-chat/chatviewtextprocessor.cpp | 2 -- 1 file changed, 2 deletions(-) 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; }