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.
Open...
Save
Save As...
Save All
Close
Close All
Exit
Publish

See Publish: Creates a .CD folder that contains the project set up through the main script in Preferences ready for distribution.  !!  Please note the following differences between publishing a script in SED, and publishing a level in WED:

  • SED publishes your main script, which is not necessarily the currently opened script file. You can either directly set the main script under Preferences, or check [Use Current Script for Run/Publish].
  • SED does not know your level. For automatically including all entities from all your levels in the published project, use pragma_level statements in your script.
  • SED does not know your WDL project file, either. For creating a customized starter window defined in a WDL file, you need to publish the WDL file directly, and check [Starter] in the publish dialog. Make sure that the WDL file is set as the main script for publishing.
  • Finally, SED does not know your settings in WED Map Properties. Thus the nexus setup in a SED-published application is normally at its default value of 40 MB. You can use a WINDOW definition with the -nx command line option when you want a higher (or smaller) nexus.

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. Leave the Select Folder field empty to search all .c, .h and .wdl files in the current folder and subfolders.
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, or the current state of open files as a new project.
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 saved projects.

Tools menu

Copy File Name Copies the name and path of the current file to the clipboard; useful when frequently opening the folder or file in other editors.
Add Comment
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 and - in the Gamestudio Editions - the level editor WED.
Add Script
For template projects: 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

Run Current
Runs the current script with no command line parameters.
Test Run
Runs the script given in preferences, with the set up command line parameters. This is normally the main script belonging to a project of several scripts.
Debug Run

Starts a debug session with the script given in preferences, or restarts a halted script until the next breakpoint is encountered. When entering a breakpoint or when single stepping, the SED cursor is automatically placed at the current code position of the engine. Variables can be examined in the Watch List. Debugging is not supported in Legacy Mode.
 !!  Each debug run consumes a certain amount of memory for script variables. Due to the way variables are allocated by the debugger, this memory is not freed at the end of a debug run, but only when terminating SED. Restart SED when you run low on memory due to many repeated debug runs.
 !!  The engine runs as a SED process in debug mode; thus engine crashes will also take SED into Nirvana. If the engine ended up in an unstable state, restart SED for the next debug run.

Break
Pauses the engine execution in debug mode, by placing a breakpoint at the source position that it's currently executing. This can be used for finding what the engine is currently doing, or for getting the engine out of endless loops.
Stop Debugging
Terminates the engine if it's still running, and ends the debug session. Allows to edit the code and start a debug session again.
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. For stepping into functions that are located in different script files, open those script files in SED.
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 variable or object from the Watch List. Watches can also be deleted by clicking on the line in the Watch List and hitting [Del].
Delete all Watches
Deletes all watched variables or objects from the Watch List.
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 when you forgot to set the AUTORELOAD flag in the shader or material.

Windows Menu

Cascade Do what they are supposed to do.
Tile Vertically
Tile Horizontally
Arrange Icons

Plugins Menu

  Plugins found in the sed_plugins folder will appear in this menu. A plugin source development kit for SED is available on the download page at www.3dgamestudio.com.

Help menu

Help
Opens this help manual.
About
Displays SED's version number and the user ID (if registered).

 

► latest version online