Philipp Hörist pushed to branch master at gajim / gajim


Commits:
fea9e1ff by Philipp Hörist at 2026-01-02T23:21:07+01:00
fix: MessageInput: Don't highlight brackets

Fixes #12578

- - - - -


1 changed file:

- gajim/gtk/message_input.py


Changes:

=====================================
gajim/gtk/message_input.py
=====================================
@@ -504,7 +504,10 @@ def __init__(self, message_input: MessageInputTextView) -> 
None:
     def switch_contact(self, contact: ChatContactT) -> None:
         buf = self._text_buffers.get(contact)
         if buf is None:
-            buf = GtkSource.Buffer()
+            buf = GtkSource.Buffer(
+                implicit_trailing_newline=False,
+                highlight_matching_brackets=False,
+            )
             buf.create_tag("strong", weight=Pango.Weight.BOLD)
             buf.create_tag("emphasis", style=Pango.Style.ITALIC)
             buf.create_tag("strike", strikethrough=True)



View it on GitLab: 
https://dev.gajim.org/gajim/gajim/-/commit/fea9e1ff7aebdfe744e08f910617a2c1259c609a

-- 
View it on GitLab: 
https://dev.gajim.org/gajim/gajim/-/commit/fea9e1ff7aebdfe744e08f910617a2c1259c609a
You're receiving this email because of your account on dev.gajim.org.


_______________________________________________
Commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to