-
Notifications
You must be signed in to change notification settings - Fork 1
UserInterface
This page will go over each of the elements that make up the user interface.
This overlay contains icons that the developer can interact with to perform various functions in the application.
The File icon allows developers to create, open, or close workspaces, along with exiting the application.
The Settings icon provides the 'About' dialog.
This window will display any output from the application or the executing snippets.
This window is displayed when the developer edits a snippet.
The title bar for the window consists of the following elements:
- Title - The name of the snippet is displayed in the center. This label can be double-clicked to edit the name of the snippet.
- Close Button - Clicking this will close the window.
The window can be moved by clicking on any part of this area and dragging the mouse.
The toolbar consists of buttons that allow the developer to perform operations related to snippets. The buttons are described in order below:
- Run - Runs all connected snippets starting from the 'main' snippet.
- Run Unit Test - Runs the snippet associated with this window. How the unit test behaves will be covered in later updates.
- Stop - Stops execution of the current snippet. This also stops running all snippets if 'Run' was clicked.
The text editor consists of tabs to indicate which part of the snippet is being edited. The tabs in order are:
- Snippet - The main snippet of Lua code that is executed. When the text is changed, the editor will attempt to compile the changed code. If there are any errors, it is reported in the status bar.
- Unit Test - The unit test associated with this snippet. This is currently experimental and more details will come in later versions.
- Lua - Experimental. Idea is that if any custom syntax was added to the snippet text, this will show the Lua generated code based of the new syntax. Essentially Lua++.
The tabs are then followed by the main text editor. This is similar to what you will find in many other applications that allows for text modification, although a bit more limited.
This small window is a popup that is displayed when text is entered to provide suggestions on what the desired text may be. This list can be navigated by the mouse or keyboard, and can be selected with a click or the tab key.
The status bar shows the result of any compiling or execution of snippets.