- added a new menu entry in the context menu of the Tcl Shell: 'Save Log' which will save the content of the Tcl Shell browser window to a file

This commit is contained in:
Marius Stanciu
2020-04-24 04:51:55 +03:00
committed by Marius
parent ea4502b965
commit b569fa1748
5 changed files with 84 additions and 10 deletions

View File

@@ -9,7 +9,6 @@
from tclCommands.TclCommand import TclCommand
import collections
import math
import gettext
import FlatCAMTranslation as fcTranslate
@@ -109,6 +108,7 @@ class TclCommandHelp(TclCommand):
displayed_text = ['> %s\n' % cmd for cmd in sorted(self.app.tcl_commands_storage)]
cmd_enum += '<br>'.join(displayed_text)
cmd_enum += '<br><br>%s<br>%s' % (_("Type help <command_name> for usage."), _("Example: help open_gerber"))
cmd_enum += '<br><br>%s<br>%s<br>' % (
_("Type help <command_name> for usage."), _("Example: help open_gerber"))
self.app.shell.append_raw(cmd_enum)