Using the RichTextCtrl widget we are able to use advanced formatting in the console pannel. The formatting information is extracted from the text stream by searching for terminal escape sequences. The sequence values are taken from the colored package, which becomes a lazy dependency (imported only when the feature is activated).
The previous implementation (using the TextCtrl widget) has been extracted into a separate class.
The client code chooses between the basic or the rich class based on the richtext_controls configuration parameter. The default is to use the previous implementation based on TextCtrl.
wx has dependencies on graphical libraries and servers. Importing it on
a headless machines causes the scripts to fail.
This change allows gooey-powered scripts to run on headless machines
with the --ignore-gooey option.
If the parameter is set to yes in the gooey decorator, the console will
be cleared before each run.
Current default parameter value is conservative and does not clear the
console.
- Corrected small typos in the french localization file.
- Added articles where necessary in the french localization.
- Added spaces and dots to comply with french typographic rules.
- Added accentuated capitals in the french localization where required.
- Improvements to the french localization to make it more idiomatic.
The key is incorrectly specified which causes the mutually exclusive
group radio buttons to display "choose_one" instead of the proper
language value like "Choose One".