betterSIS Text Editor Code Documentation
BETTERSIS.TEXTEDITOR: A simple text editor for betterSIS.
Features:
edit (and save) files
syntax highlighting
Note
This code was inspired by the prompt_toolkit example: https://github.com/prompt-toolkit/python-prompt-toolkit/blob/7fdd81597597a7a2f47655238b7f0cb3ea637091/examples/full-screen/text-editor.py # noqa: E501
- class bettersis.texteditor.SimpleTextEditor(t_file)[source]
Opens the
<t_file>file with the a simple CLI text editor.- Parameters:
t_file (str) – file to open with the text editor