(self)
| 914 | return "\n".join(entries) |
| 915 | |
| 916 | def _get_help_html(self): |
| 917 | fmt = "<tr><td>{}</td><td>{}</td><td>{}</td></tr>" |
| 918 | rows = [fmt.format( |
| 919 | "<b>Action</b>", "<b>Shortcuts</b>", "<b>Description</b>")] |
| 920 | rows += [fmt.format(*row) for row in self._get_help_entries()] |
| 921 | return ("<style>td {padding: 0px 4px}</style>" |
| 922 | "<table><thead>" + rows[0] + "</thead>" |
| 923 | "<tbody>".join(rows[1:]) + "</tbody></table>") |
| 924 | |
| 925 | |
| 926 | class ToolCopyToClipboardBase(ToolBase): |
no test coverage detected