SED Menu

File menu

New Do what they are supposed to do. You can open .WDL or .C scripts, .FX effect files, or all other sorts of text files. It's no problem to use SED as a replacement for the Notepad editor. If you save a file, the previous version will be kept as a backup when set in Preferences.

The Publish operation creates a .CD folder that contains the project ready for distribution.

Open...
Save
Save As...
Save All
Close
Close All
Publish
Print...
Print Preview
Print Setup...
Exit

Edit menu

Undo Undo / Redo the last operation.
Redo
Select All Selects the whole text in the file.
Cut Cuts selection to the clipboard, or cuts the current line if nothing is selected.
Copy Copies selection to the clipboard, or copies the current line if nothing is selected.
Paste Pastes the clipboard.
Find Text Opens the Find menu for searching through the file.
Find Next Jumps to the next occurrence of the Find text.
Find In Files Finds text in scripts from a folder structure.
Replace Replaces text in a selection or in the rest of the file.
Indent All Indents the whole script, nice for cleaning up the code to get a better look at it.
Comment Line Comments all selected lines or comments the current line if nothing is selected.
Uncomment Line Removes the comments from all selected lines or uncomments the current line if nothing is selected.
Insert Date Inserts the current date.
Goto Last Change Places the cursor at the last edited position in the same file.
Bookmarks For easier navigation through your code, use bookmarks. You can also place numbered bookmarks through Ctrl-0 .. Ctrl-9, and jump to a numbered bookmark through Alt-0 .. Alt-9.
Outlining Use outlining for making your scripts better readable. You can collapse or expand the content of functions and structs by clicking the [-] and [+] outlining icons near to them. Use Collapse All or Expand All to shrink or expand the content of the whole script.

Options menu

Auto Indent Indents automatically when pressing enter.
Sort Code Jumper Sorts the code jumper ascending.
Highlight Selected Line Highlights the selected line, with use of the highlight color which can be changed in the Customize Colors dialog.
Indentation Guide Shows markers where the tabs are placed.
Show Line Numbers Displays the line numbers to the left. You can find the current line number in the bottom status line.
Show Outlining Shows the outlining [-] and [+] icons to the left.
Toolbars Displays the Toolbars, Command Help, and Variable List.
Preferences Takes you to the Preferences configuration with the rest of the options.
Customize Hotkeys Customizes individual keys for the menu commands.
Font Changes the text font.

Project menu

New Project Creates a new project, containing a list of files. If SED is started without command line parameters, it automatically opens all files from the last project.
Open Project Opens an existing project.
Save Project Saves the current project.
Save Project As.. Saves the current project under a different name.
Close Project Closes the current project.
Add File Adds a script to the current project.
Remove File Removes a script from the current project.
Recent Projects A list of the last projects.

Tools menu

Add Comment Lets the user enter a comment and it gets nicely inserted into the code.
To-Do List Brings up a list where you can organize all things to do.
Color Picker Choose a color and the RGB values will be inserted into the code.
Insert Image Choose an image file and a BMAP will be inserted into the code.
MED
WED
Starts the model editor MED or the level editor WED, using the path provided in Preferences.
Add Script Adds a script from the templates by including it and copying it to the folder where the current script is located.
Customize Script Change parameters in a customizable template script.

Debug menu

Syntax Check Does a syntax check according to what error you got during the last run.
Test Run Starts the engine using the configuration options for the paths.
Debug Run Starts the engine for single stepping through code, and runs to the next breakpoint. Watches are updated, Debug Mode is activated. When entering a breakpoint or when single stepping, the SED cursor is automatically placed at the current code position of the engine. Note that the engine runs as a SED process in Debug Mode: SED controls the mouse, and engine crashes will also take SED into Nirvana. Debugging is not supported yet in Legacy Mode.
Break Pauses the engine execution by placing a breakpoint at the source position that it's currently executing.
Stop Debugging Terminates the engine.
Set current File to Run Sets the file that Test Run or Debug Run uses as the current file. Can also be changed manually in Preferences, or set up to always use the current file.
Single Step Steps to next source line and places the cursor to the current debug position.
Single Step Over Steps to next source line, but does not enter functions; only available for lite-C.
Toggle Breakpoint Places or toggles a breakpoint at the current source line. Breakpoints can be placed before running the engine or during a Debug Run.
Ignore Breakpoints Continues the Debug Run and ignores all further breakpoints.
Add watch Adds a variable or object to the Watch List, for observing its value during a Debug Run in real time. Watches can also be added by double clicking on the Watch List. The watch refresh rate can be set in Preferences.
Delete watch Deletes the selected watch. Watches can also be deleted by clicking on the line in the Watch List and hitting [Del].
Delete all watches Deletes all watches.
Execute Instruction Enter an engine function and it will be executed directly in the engine.
Reload FX material

Reloads a material from the script while the engine is running; useful for testing materials and shaders.

Plugins menu

Plugins available in the sed_plugins folder will be placed in this menu. Instructions on how to create plugins for SED is available at the download page at www.3dgamestudio.com