https://bugs.documentfoundation.org/show_bug.cgi?id=169495

--- Comment #3 from Sergey Nemna <[email protected]> ---
(In reply to Roman Kuznetsov from comment #2)
> I like the idea about description in Macro manager in general, but I'm not
> sure what should be shown there if you have two or more functions with
> docstrings in the one Python module?

I am not certain that I fully understood your question. The window contains
three primary controls (excluding buttons):
1) Library — a hierarchical tree of directories/Python modules;
2) Macro name — the functions contained within the selected module;
3) Description — the docstring associated with the selected function.

The «Description» field could be configured to display the module's docstring
when the author has not supplied a function description. The way I see it, the
field should remain empty if no docstrings exist, although a hint could be
displayed (this is, of course, entirely optional, but nice to have), such as
«Unfortunately, the function or module provides no docstrings».

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to