Le 18/06/2014 09:00, Jaap Karssenberg a écrit : > The quick hack would be to modify "_exec_custom_tool()" in > "zim/gui/__init__.py" > If this works, also the custom tool dialog (defined in > zim/gui/customtools.py) should be updated to add that key as a checkbox. > > I can also imagine a similar key to insert output text at the cursor. > Please try it out and let me know if you get it to work.
Some bugs… in editing the custom tools back to set in non read only. No more time to debug it more. Would be also nice to make the debug popup resizable. Tools > Custom Tools It may be as dummy as lovely indentation errors… I checkouted a bazaar version: $ bzr branch lp:zim I also guess I must make a backup copy of my existing zim notebooks / config. This is zim 0.60 Platform: posix Locale: fr_FR UTF-8 FS encoding: UTF-8 Python: (2, 7, 6, 'final', 0) Gtk: (2, 24, 23) Pygtk: (2, 24, 0) No bzr version-info found ======= Traceback ======= File "/home/sylvain/code/zim/zim/gui/__init__.py", line 882, in _action_handler method(*arg) File "/home/sylvain/code/zim/zim/gui/__init__.py", line 2097, in manage_custom_tools CustomToolManagerDialog(self).run() File "/home/sylvain/code/zim/zim/gui/customtools.py", line 36, in __init__ self.listview = CustomToolList(self.manager) File "/home/sylvain/code/zim/zim/gui/customtools.py", line 111, in __init__ self.refresh() File "/home/sylvain/code/zim/zim/gui/customtools.py", line 130, in refresh text = '<b>%s</b>\n%s' % (encode_markup_text(tool.name), encode_markup_text(tool.comment)) File "/home/sylvain/code/zim/zim/gui/widgets.py", line 119, in encode_markup_text return text.replace('&', '&').replace('>', '>').replace('<', '<') AttributeError: 'NoneType' object has no attribute 'replace' _______________________________________________ Mailing list: https://launchpad.net/~zim-wiki Post to : zim-wiki@lists.launchpad.net Unsubscribe : https://launchpad.net/~zim-wiki More help : https://help.launchpad.net/ListHelp