Previous Up Next

6  menus

6.1  File menu

New:
Creates a new document or shows the New dialog (Figure 30).
Open:
Shows the Open dialog to open a file. The submenu contains the recently used file list.
Reopen file:
Reloads the file, all made and unsaved changes will be lost.
Save:
Saves the active document.
Save As:
Saves the active document under a different filename.
Save all:
Saves all opened documents.
Open from FTP:
Downloads a file from a FTP server.
Save to FTP:
Uploads a file to a FTP server.
Export:
Exports the active document to HTML or RTF. These menu items are only available when a highlighter is assigned to the active document.
Close:
Closes the active document.
Close All Files:
Closes all opened documents.
Properties:
Shows some properties from the active document.
Print:
Prints the active document to a printer.
Print Preview:
Choose this command to display the print preview of the file with the focus.
Page Setup:
Shows a dialog (Figure 23) to configure printing margins (9.1), header and footer (9.2) etc.
Exit:
Closes the program.

6.2  Edit menu

You'll find a description of the edit commands in section 5.12.

6.3  Search menu

You'll find a description from the search commands in section 5.13.

6.4  View menu

Toolbars:
Displays a list of toolbars and panels which can be toggled to show or hide.
Status Bar:
Shows or hides the status bar.
Syntax Schemes:
Switches between syntax schemes.
Fullscreen:
This command hides the menu bar, status bar and all the non-floating toolbars, giving you your entire screen as the main working area. To go back to normal view use the hotkey (default F11) or the fullscreen menu item in the context menu from the editor.
Show line numbers:
Shows or hides the line numbers from the editor.
Show Whitespace:
Shows or hides characters such as spaces, tabs or linebreaks.
Options:
This command displays the Option dialog (Figure 21) box for changing options and settings which are related to syn itself. The options are described in section 8.

6.5  Project menu

New:
Creates a new empty project, before you're forced to choose a filename for the project.
Open:
Opens an existing project. The submenu contains recently used projects.
Close:
Closes the current project, and all files belonging to this project.
Add to Project:
Adds the active file to the opened project
Add all to project:
Adds all external files to the opened project
Remove from Project:
Remove active file form theproject
Sort Files:
Sorts project files alphabetically.
Options:
Shows a dialog to configure some options, for more information see 11.

6.6  Run menu

Parameters:
Shows a dialog (Figure 29) to quickly add arguments to the command line without changing the syntax or project settings.
Run File:
Starts the default profile associated with the active document highlighter. This execution profile is defined in options, editor, "name of the syntax scheme".
Run Project:
Starts the default profile associated with the project. This execution profile is defined in the project options.
Stop Process:
Terminates a running process you've started with the Run command or a tool.

6.7  Script menu

Execute:
Shows the open dialog to load a script and execute it.
Run Active:
Runs the active document, assuming it is a script. It takes directly the text in the editor, so it's not necessary to save it before.
List of scripts
Below these two items appears the list of scripts you selected to load in Options,Editor,Scripts.

6.8  Tools menu

This is the menu for the tools you've configured. If you haven't configured any tool yet, you won't see this menu. More information about tools is in section 5.5.

6.9  Window menu

New Window:
Creates a new window with the text from the active window.
Close:
Closes the document window that has focus. If the document has been modified, you will be prompted to save it.
Close all:
Closes all document windows. If any document has been modified, you will be prompted to save it.
Previous:
This command brings the previous document to the front.
Next:
This command brings the next document to the front.
Cascade:
This command arranges all the windows in the main working area in the familiar cascade pattern.
Tile Horizontally:
This command arranges all the windows in the main working area so that each is the full width of the working area.
Tile Vertically:
This command arranges all the windows in the main working area so that each is the full height of the working area.
Minimize all:
Minimizes all opened windows.
Arrange Icons:
This command arranges minimized windows at the bottom of the window.
Windows:
Opens the Windows Dialog (Figure 37), where open documents can be activated, saved, closed, cascaded, tiled or minimized.

6.10  Help menu

Help Contents:
Shows this manual in your favorite browser. Check for an updated version on the web site.
Keyboard Map:
Shows all keyboard commands. You can see the default commands in section 13.
Email Support:
Sends an email to the users list, when you have some problems to get help.
syn on the Web:
Some useful Internet addresses regarding syn.
Versions:
Shows the version of some files, which syn sometimes uses.
About syn:
Shows copyright and version information, and a nice bitmap :-).

6.11  Editor popup menu

The popup menu (Figure 14) provides mainly some edit commands, but also important search commands, and the "Full screen" command. To show this menu use the right mouse button in the editor.

Figure 14: Editor popup menu

6.12  Window Bar popup menu

This menu (Figure 15) gives you a quick access to some window related commands, even when this window is not active. You can close, minimize, save etc. it. To show this menu use the right mouse button on the desired window tab. If you click with the right mouse button on the Window bar, but not on a button, you'll show the Window menu (6.9).

Figure 15: Window Bar popup menu

6.13  Workspace popup menu

To show this menu use the right mouse button in the Workspace Window. The project explorer popup menu contains mainly items which can also be found in the project menu (6.5). It has additionally two more items:
Open:
Opens the selected file. Alternatively you can use a doubleclick on a file, or use the Enter key.
Hide:
Hides the workspace window.

6.14  File Explorer popup menu

To show this menu use the right mouse button in the file explorer. The file explorer popup menu (see Figure 18) contains only three Items:
Open:
Opens the selected file. Alternatively you can use a doubleclick on a file, or use the Enter key.
Refresh:
Refreshes the explorer, in case you've deleted or created files.
Hide:
Hides the file explorer.

6.15  Output Window popup menu


Figure 16: Output Window popup menu
To show the popup menu from the Output window (Figure 16) use the right mouse button in one of the lists. All lists in the output window have the same menu, but the commands may act in different ways depending on which list is visible.
Jump to Line:
When you've started a program with the Run command which emits a line number, e.g. an errorline from a compiler, you can jump with this command to the line. When it emits also a filename this command will also open or activate the file. For more information see section 5.1. You can jump to a search result from Find in Files in the same way.
Goto previous/next Output Item:
are the same commands as described in section 5.13.7.
Clear List:
Clears the list.
Copy all:
Copy the entire list to the clipboard.
Copy Line:
Copy the selected line to the clipboard.
Save to File:
Saves the entire list to a text file.
Hide:
Hides the output window.

6.16  Marker popup menu

This is the popup menu of the marker list. You can show it with a right click on a marker in the list.

Figure 17: popup menu for the Marker List
Jump to:
Opens the file and places the text caret at the position of the selected marker.
Add Marker:
Shows the marker dialog (12.7, Figure 36) to add a new marker.
Edit Marker:
Shows the marker dialog to edit the selected marker.
Priority:
Sets the priority of the selected marker.
Delete Marker:
Deletes the selected marker.



Previous Up Next