From 09ae04cee90cdc426cd4c9d7c38a297492e02f5c Mon Sep 17 00:00:00 2001 From: Adam Treat Date: Tue, 20 Jun 2023 19:07:02 -0400 Subject: [PATCH] This needs to work even when localdocs and codeblocks are detected. --- gpt4all-chat/responsetext.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gpt4all-chat/responsetext.cpp b/gpt4all-chat/responsetext.cpp index eabe3a48..12adf859 100644 --- a/gpt4all-chat/responsetext.cpp +++ b/gpt4all-chat/responsetext.cpp @@ -367,8 +367,8 @@ void ResponseText::handleTextChanged() return; m_isProcessingText = true; - handleContextLinks(); handleCodeBlocks(); + handleContextLinks(); // We insert an invisible char at the end to make sure the document goes back to the default // text format QTextDocument* doc = m_textDocument->textDocument();