Previous Up Next

12  Other Windows

Here are some other windows and dialogs described, which you may see sometimes in syn.

12.1  Parameters dialog

Figure 29: Parameters dialog
Use the Parameters dialog (Figure 29) ("Run", "Parameters...") to add quickly more arguments to the command line without the need of changing the project or syntax settings. You can also use the usual variables (5.2). These arguments are appended to the command line.

You can also override the working directory using this dialog, either literal or system variables or parameters. Use the browse button to choose a directory, or the variables button to show a menu with the variables. The last 10 arguments and directories are saved, and you can choose it from the dropdown list. This parameters are only added when you use the run file or project commands, it does not work for tools.

To delete an item in the parameters or directory list, select the desired item in the list and hit Ctrl+Del.

A faster way to change the parameters and/or working directory is to use the text boxes in the parameters submenu. Added or changed parameters and/or the working directory in this way is not saved in the history.

You may also change the environment variables for syn, and thus also for the process which is created when you use the Run command. This changes are not persistent, they apply only for the current process, i.e. it will start everytime with the same environment variables. To change these variables permanently use the control panel applet "system" on NT, or Autoexec.bat on 9x/ME.

12.2  New dialog

If you have activated "Show New dialog when using the New command" in the Options dialog, it will show the New dialog (Figure 30) every time you use the New command, otherwise it will create a new document. Use also this dialog to create a new document based on a template (Figure 31).

Figure 30: New dialog: plain file

Figure 31: New dialog: templates

12.3  Welcome dialog

If the Option "Show Welcome dialog on startup" is activated it will show the Welcome dialog (Figure 32) every time the program starts. You can also invoke this dialog via a command line switch, even when this option is not activated, see the command line switches section (14).

Figure 32: Welcome dialog

12.4  Configure tools

Use this dialog to define custom tools, which you can call via a menu item or a toolbar button. For more informations about tools see Section 5.5.

Use the toolbar at the top to add, remove, move up or down or to edit a tool.
Icon File:
Enter here the filename from an Icon File (*.ico) or from any other file to show as icon in the menu and toolbar.
Choose here the kind of the tool, this can be "Launch program", "Insert String", "Execute Editcommand" or "DOS Command".

12.4.1  Launch program

Figure 33: Configure tools dialog
The filename from the program to start.
Optional arguments to pass to the program.
Working directory:
The working directory from the program to start.
Capture console:
If activated the output from the console program is redirected to syn, and shown in the output list.
If checked the program is hidden, makes no sense when the program is a GUI program.

12.4.2  Insert String

Enter in the text box the string to insert. Use the "Variables" button to show a menu with some variables.

12.4.3  Execute editcommand

Choose the command to execute from the combobox.

12.4.4  DOS Command

The command to execute.
Working directory:
The working directory in which the batch interpreter will be started.
If checked, you won't see a DOS box.

12.5  Save dialog

The Save dialog (Figure 34) appears when you use the "Close all Files" command, or you close a project or the program, and there are some files unsaved, i.e. has the modified flag. You can save with this dialog all modified files at once, save none of them or cancel the operation. You'll find in the list from this dialog all modified files. Files with a filename are selected. To select or unselect a file just click on it. All selected files will be saved when you click the "OK" button.
Save the selected files.
Cancel the operation, e.g. the project, program or file is not closed.
Save all:
Saves all files in the list, regardless the selection in the list.
Save none:
Saves none of the modified files, regardless which files are selected.

Figure 34: Save dialog

12.6  Confirm Replace dialog

The Confirm Replace dialog (Figure 35) gets invoked when you want to replace text using the Replace (5.13.5) Command, and you click then OK. It doesn't appear when you use the "Replace all" button in the Replace dialog (Figure 10), because it doesn't ask you anything in this case.
Replace this occurrence of the text.
Don't replace this occurrence of the text.
Cancels the operation.
Yes to all:
Will replace all occurrences from the text without asking you again.

Figure 35: Confirm Replace dialog

12.7  Marker dialog

Use this dialog (Figure 36) to add a new or edit an existing marker. Markers are similar to bookmarks, but they have more features, like you can name them, assign a priority etc.
The name or a caption of the marker.
Choose the type of the marker. Possible types are:
Choose here if you think this should be done in the next time, or if someone else could do it as well one time ;-).
Line, Column:
The position of the marker.
You can only choose the file when you add a new marker, it's not possible to change the file of an existing marker.
A comment for the marker, may be multiline.

Figure 36: Marker dialog (Add Marker)

12.8  File Properties dialog

The File Properties dialog is similar to the windows explorer one, it shows some information about the active file, e.g. size, file date/time, MS-DOS name etc. You may also change the modified and read-only flags with this dialog. To show this dialog use the "Properties" menu item in the "File" menu (6.1).

12.9  File Versions

The File version dialog shows the version numbers from some important files syn uses sometimes. To show this dialog use the "Version" menu item in the "Help" menu (6.10). It is not necessary that all files are present, e.g. syn can do without the "synftp.dll" or the "hhctrl.ocx". If some of this files are not available, you may not be able to use all of the features from syn.

12.10  Windows dialog

Use the Windows dialog (Figure 37) to activate, save, close etc. opened windows. To show this dialog use the "Windows" menu item in the "Window" menu (6.9).

Figure 37: Windows dialog

12.11  Print Preview Window

Use the Print Preview Window to view the active file as it would be printed to a printer. To show this window use the "Print Preview" menu item in the "File" menu (6.1).

12.12  Keyboard Map

This window shows the current keyboard mapping, to see the default keyboard mapping refer to section 13. To change this mapping use the Customize dialog (10), which you can call with the Customize menu item in the View menu (6.4). Show the keyboard map dialog with the "Keyboard Map" menu item in the Help menu (6.10). You can also use this dialog to copy or print this list:
Use the Print button to print the entire list to a printer. Before the printer dialog will appear, where you can choose the printer.
Use the copy button to copy the selected items in the list to the clipboard.
Use this combobox to choose the category for which to show the commands, choose the "All Commands" item in this list to show all commands and "Bound Commands" to show all commands which have a shortcut key assigned. This items are equal to the menus, e.g. file commands can be found in the file menu etc.

Previous Up Next