Skip to content

Python Editor Widget

Sebastian Maaßen edited this page Nov 3, 2020 · 15 revisions

The Python Editor Widget provides in a tab-widget encapsulated python code editors. The python code editor supports some quality of life features such as auto indent, simple syntax highlighting as well as auto completion to some extent. (TODO: perhabs own subcategory for the code editor instead of placing it in the introduction? Subcategory Toolbar.)

Toolbar

The toolbar provides basic code editor actions, namely New File (1), Open File (2), Save (3), Save as (4) and Toggle Minimap (5).

New File

Opens a new python code editor as a tab.

Open File

Opens an existing python script through a file dialog.

Save

Saves the currently selected script if it was previously saved to or loaded from the hard disk. If the script is new this action is the same as Save as.

Save as

Saves the currently selected script to the hard disk through a file dialog.

Toggle Minimap

Toggles the minimap. The minimap is useful for long python scripts to maintain a better overview over the code.

Clone this wiki locally