Plugin "Source Code Syntax Highlight" crashes when trying to "Paste as Code" or "Paste as Code Block"
Versions
- OS: Windows 10
- GTK Version: 3.24.29
- PyGObject Version: 3.40.1
- GLib Version : 2.66.7
- python-nbxmpp Version: 2.0.2
- Gajim Version: 1.3.2
Traceback
Traceback (most recent call last):
File "C:\Users\gabbe\AppData\Roaming\Gajim\Plugins\syntax_highlight\chat_syntax_highlighter.py", line 58, in _paste_as_code
self._insert_paste(f'`{text}`')
File "C:\Users\gabbe\AppData\Roaming\Gajim\Plugins\syntax_highlight\chat_syntax_highlighter.py", line 52, in _insert_paste
self._chat_control.msg_textview.remove_placeholder()
AttributeError: 'MessageInputTextView' object has no attribute 'remove_placeholder'
Steps to reproduce the problem
Every time I try to right click and use either "Paste as Code" or "Paste as Code Block". I have tried to reinstall the plugin, and even reinstall Gajim but I still get this crash. It HAS worked, but somewhere along the way it started crashing.