I've also noticed the issue on Gutsy on both my laptop and workstation.
All of the triggering seems to work normally but the trigger text is
deleted and replaced with a tab, in my case 2 spaces.
If I run gedit from the commandline it logs the following to screen...
/bin/sh: /usr/bin/esd: not found
/usr/lib/python2.5/site-packages/_xmlplus/dom/xmlbuilder.py:8: Warning:
IA__g_object_remove_toggle_ref: couldn't find toggle ref 0xb5f97a30(0x86bd39c)
from xml.dom.NodeFilter import NodeFilter
Traceback (most recent call last):
File "/usr/lib/gedit-2/plugins/snippets/Document.py", line 644, in
on_view_key_press
return self.run_snippet()
File "/usr/lib/gedit-2/plugins/snippets/Document.py", line 436, in run_snippet
return self.apply_snippet(snippets[0], start, end)
File "/usr/lib/gedit-2/plugins/snippets/Document.py", line 369, in
apply_snippet
active_info = s.insert_into(self, start)
File "/usr/lib/gedit-2/plugins/snippets/Snippet.py", line 295, in insert_into
self._parse(plugin_data.view, marks)
File "/usr/lib/gedit-2/plugins/snippets/Snippet.py", line 231, in _parse
self._insert_text(val)
File "/usr/lib/gedit-2/plugins/snippets/Snippet.py", line 138, in _insert_text
indented = unicode.join('\n' + unicode(self._indent),
spaces_instead_of_tabs(self._view, text).split('\n'))
File "/usr/lib/gedit-2/plugins/snippets/Helper.py", line 59, in
spaces_instead_of_tabs
return text.replace("\t", view.get_tabs_width() * ' ')
AttributeError: 'gedit.View' object has no attribute 'get_tabs_width'
--
Snippets plugin doesn't work
https://bugs.launchpad.net/bugs/136876
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs