Script Editor

Script Editor Toolbar

The script editor toolbar provides quick access to frequently used actions from the Script editor menu. It includes the following items:

../_images/andi_gui_script_toolbar.png
  1. Brings up an open dialog from which the user can open a previously saved Python Script (*.py) on the current editor.

  2. Saves the active script under Python script extension(*.py).

  3. Prints the active script.

  4. Cuts the selection and stores it in the clipboard.

  5. Copies a selected text or object from the active text editor and stores it in the clipboard without removing it from its original location.

  6. Pastes a cut or copied text or object from the clipboard to the active text editor.

  7. Undo button cancels the last changes made to the text in the Script Editor.

  8. Redo button re-applies actions or commands.

  9. Runs or stops the active script.

  10. Check Syntax button enables the user to get a report about the statement of the syntax and to find errors.

  11. Clears output panel.

  12. Makes a search in the active script.

  13. Replaces the old word by a new one.

  14. Bookmark is a submenu, presents a special marker on a single line, indicated on the bookmark margin. With this, it is easy to search for specific lines and perform certain operations on them.

    1. To toggle a bookmark on a single line, select Bookmarks -> Toggle Bookmark(Ctrl+k).

    2. To jump with the cursor to the next line containing a bookmark, select Bookmarks -> Next Bookmark(Ctrl+Alt+k).

    3. To go to the previous bookmarked line, select Bookmarks -> Previous Bookmark(Ctrl+Shift+k).

    4. To remove a bookmarks, Select Bookmarks -> Clear Bookmarks.

  15. Zooms in.

  16. Zooms out.

  17. Resets zoom.

  18. Shows the white-spaces.

  19. Comments a line or a selection.

  20. Uncomments a line or a selection.

  21. Goes to a certain line number in the active script.

  22. Allows to break and wrap long words onto the next line.