From 5ab39d51bec82423d94f1b685667e711a3ecbfb1 Mon Sep 17 00:00:00 2001 From: Nate Beversluis Date: Sun, 7 Jul 2024 20:34:02 -0400 Subject: [PATCH] after write_buffer_messages, set clear_messages to False on reparse --- urtext/buffer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/urtext/buffer.py b/urtext/buffer.py index c51568c..95cf7d2 100644 --- a/urtext/buffer.py +++ b/urtext/buffer.py @@ -334,7 +334,7 @@ def write_buffer_messages(self, messages=None): messaged_contents, ]) self.messages = [] - self.contents = new_contents + self.set_buffer_contents(new_contents, clear_messages=False) def __get_messages(self): messages = []