[syntax_highlight] Add Paste as Code (Block) feature

This commit is contained in:
wurstsalat
2020-09-12 13:21:56 +02:00
parent 5f7f3eac49
commit 8ff5c3c61e
2 changed files with 40 additions and 3 deletions

View File

@@ -68,7 +68,7 @@ class SyntaxHighlighterPlugin(GajimPlugin):
def _connect_chat_control(self, chat_control):
highlighter = ChatSyntaxHighlighter(
self.config, self.highlighter_config, chat_control.conv_textview)
self.config, self.highlighter_config, chat_control)
self._highlighters[chat_control.control_id] = highlighter
def _disconnect_chat_control(self, chat_control):