GUI: Menu and Toolbar





Item Index:


  1. File Menu:
    • New Script (Ctrl + N): Adds a new empty script in a new tab. The file is created in the "Script Folder" (See Settings).
    • New Class (Ctrl + Shift + N): Adds a new empty class in a new tab. The file is created in the "Script Folder" (See Settings).
    • Open (Ctrl + O): Displays a file chooser to select a file to add in a new tab.
    • Save Menu:
      • Save (Ctrl + S): Saves current script to the directory where it was created.
      • Save As (Ctrl + Shift + S): Displays a save dialog to select a directory and name to save the file.
      • Save All (Ctrl + Alt + S): Saves all scripts opened in the Editor.
    • Exit: Closes the program.

  2. Edit Menu:
    • Cut (Ctrl + X): Cuts the selected text from documents and adds it to clipboard.
    • Copy (Ctrl + C): Copies the selected text to the clipboard.
    • Paste (Ctrl + V): Inserts into the current caret position the last element added to the clipboard.
    • Undo (Ctrl + Z): Calls the UndoManager to go back one edit in the current Editor.
    • Redo (Ctrl + Y): Calls the UndoManager to go foward one edit in the current Editor.
    • Search Menu:
      • Search: Textbox + Button. Allows a quick first match search.
      • Advanced Search (Ctrl + F): Displays a search window with advanced options that can't be found in the GUI.
    • Clean Highlights (Escape): Removes all highlights from current tab.
      	Note: highlights are generated when you search or click on the var table.

  3. Run Menu:
    • Force Garbage Collection: Cleans unused objects (garbage) from memory.
    • Force Highlight (Ctrl + L): Runs the method that highlights the whole current Editor's document.
      	Note: this should be used only when you find that a part of the text isn't highlighted of highlighter wrongly.
    • Force Variable Table Fill (Ctrl + T): Searchs the current Editor's document for variables definition and adds them to the table.
      	Note: this is generally unused, there's a timer that fills the variable table 1 sec after you finish writting.
    • Run Benchmark: Shows a dialog that performs a test on how much time it takes to highlight a file of your choice.
    • Run Syntax Check (F6): Shows a window that performs a search on the code you wrote searching for common mistakes.

  4. Tools Menu:
    • Trim Empty Lines: Removes all lines from current Editor's document that have no characters.
    • Remove Comments: Removes all comments from current Editor's document. (Single-Line and Multi-Line comments)
    • Define Multiple Variables: Displays a window that allows you to create multiple variables at the same time and insert them in the current Editor's document.
    • Packet Converter: Shows a window when you can parse hex strings to numbers or ASCII characters.
    • Import Functions: Popups a dialog where you can select an input file and then insert the functions in that file to your current Editor's document.
    • Settings (Ctrl + P): Displays the settings window where you can choose many parameters the program uses.

  5. Help Menu:
    • Help: Displays useful links that may guide you in case of script related issues.
    • About: Displays the program credits and disclaimers.

  6. New Script (Ctrl + N): Adds a new empty script in a new tab. The file is created in the "Script Folder" (See Settings).
  7. New Class (Ctrl + Shift + N): Adds a new empty class in a new tab. The file is created in the "Script Folder" (See Settings).
  8. Open (Ctrl + O): Displays a file chooser to select a file to add in a new tab.
  9. Save (Ctrl + S): Saves current script to the directory where it was created.
  10. Undo (Ctrl + Z): Calls the UndoManager to go back one edit in the current Editor.
  11. Redo (Ctrl + Y): Calls the UndoManager to go foward one edit in the current Editor.
  12. Cut (Ctrl + X): Cuts the selected text from documents and adds it to clipboard.
  13. Copy (Ctrl + C): Copies the selected text to the clipboard.
  14. Paste (Ctrl + V): Inserts into the current caret position the last element added to the clipboard.
  15. Settings (Ctrl + P): Displays the settings window where you can choose many parameters the program uses.
  16. Search: Searchs on the current Editor's document for the keyword given (not case sensitive) and highlights all the matches. Sets the first match selected.
  17. Previous: Selects the previous match of the word you searched for.
  18. Next: Selects the next match of the word you searched for.