To know the purpose of any menu option in Wedit, open the menu and run the mouse over each item. A short explanatory text will be shown at the lower right of Wedit’s window.
Following is a description of all menu entries:
File: Opens and closes files, renames or saves the current file, opens or closes a project.
|
Item |
Description |
|
New |
Creates a new text file, a new Wedit window, or a new project. |
|
Open |
Opens an existing file. |
|
Open binary |
Opens an existing file and calls the binary editor to edit it. |
|
Insert a file |
Inserts a text file at the current cursor position. |
|
Save |
Writes the current document to disk. |
|
Save as |
Renames the current document and writes it to disk. |
|
Save all |
Writes to disk all modified files. |
|
Reload |
Discards any changes to the current file and reloads it from disk. |
|
Set read-only |
Makes any modifications to the current file impossible. |
|
Close |
Closes the current document. |
|
|
Prints the current file or all loaded files. |
|
Quit |
Closes Wedit. |
Edit: Text manipulation including moving blocks of text, reformatting the current document, inserting a file, and other commands.
|
Undo |
Undoes the last action. |
|
Cut |
Erases the current selection saving it in the clipboard. |
|
Paste |
Copies the contents of the clipboard to the cursor position. |
|
Copy function |
You choose a function and Wedit copies it to the clipboard. |
|
Copy to file |
Copies the contents of the clipboard to a file. |
|
Level |
Shows the bracket level. |
|
Mark block |
Marks the current block (where the cursor is). |
|
Spaces->Tabs |
Converts all white space to tabs if possible. |
|
Tabs->Spaces |
Replaces all tabs with their equivalent in spaces. |
|
Recenter |
Recenters the cursor in the screen. |
|
Description à Function |
Edits a standard description of a function. |
|
Descriptionà File |
Edits a standard description of a file. |
|
Show changes |
Shows the changes made to the current document. |
|
Reformat |
Reformats the program, adding indentation. |
Search: Searching or replacing character strings or regular expressions, identifying a file, searching for a function, GREP.
|
Find |
Searches for a character sequence. |
|
Find next |
Searches for the next occurrence of the previous search. |
|
Find previous |
Searches backwards. |
|
Replace |
Replaces one character sequence with another. |
|
Find in files |
Searches for a character sequence in a set of files. |
|
Incremental search |
Searches the first occurrence of the word you type as you type it. This means fewer characters to type are needed than in the normal search. (in most cases) |
|
Goto Top |
Sets the cursor at the beginning of the file. |
|
Goto end |
Sets the cursor at the end of the file. |
|
Goto line |
Prompts for a line number and sets the cursor there. |
|
Goto Previous function |
Sets the cursor at the beginning of the previous function. |
|
Goto Next function |
Sets the cursor at the beginning of the next function. |
|
Goto Bookmark |
Prompts you for a bookmark and sets the cursor there. |
|
Bookmark set |
Establishes a bookmark at the cursor position. |
|
Bookmark goto |
Moves the cursor to a chosen bookmark. |
|
Bookmark goto next |
Moves the cursor to the next bookmark. |
|
Bookmark delete |
Erases a bookmark. |
|
History |
Shows the list of visited functions for the current session. |
|
Functions list |
Shows the list of all functions defined in the current file |
|
Structures list |
Shows the definitions of all structures defined in the current file |
|
Search a function |
Shows the list of all functions defined in all loaded files. It allows for regular expressions for searching. |
|
Search definition |
Moves the cursor to the definition of the symbol currently under the cursor. |
|
Symbol usage |
Shows all occurrences of a symbol,i.e. where its used. Comments and strings aren’t included in the search. |
Project. Project-related options (reading, opening, creating, modifying, etc.) and the general configuration wizard.
|
Configuration |
All the configuration options for the compiler, editor, debugger, linker, help files, etc. |
|
Create |
Starts the creation of a new project. |
|
Open |
Loads an existing project. |
|
Close |
Closes the current project. |
|
Erase |
Erases a project you choose. |
|
Add/Delete files |
Inserts or deletes files from the current project. |
|
Import |
Allows the user to browse for a project file (with the .prj extension), and loads it into the projects list. This closes the current project (if any). |
|
Open all files |
Opens
all the files defined in the current project. |
|
Workspace |
Shows the modules of the current project. You can add/delete modules, switch from one source file to the next, and many other options. You turn on those options using the right mouse click. |
|
After this entry |
All user-defined menu commands, added with the add utility option in the configuration tab, start at this point. |
·Design. Resource editor.
|
Open/New |
Creates or opens a resource file. |
|
|
Show directory |
Shows all the types of resources defined and each one of the objects. |
|
|
Symbols |
Opens the symbol editing dialog box. With this you can add/change symbols assigned to controls. |
|
|
Group |
Opens the group and hierarchy dialog box. Here you can establish the tab sequence and set the group separators. |
|
|
New |
Inserts a new object. |
|
| dialog | Inserts a new dialog | |
| menu | Invokes the menu editor with a new menu | |
| icon | Inserts a new icon | |
| accelerator | Invokes the accelerators editor with a new accelerator | |
| bitmap | Invokes the image editor with a new bitmap | |
| strings | Invokes the string table editor | |
| version | Invokes the version input dialog | |
| User defined | Inserts a new user defined resource | |
|
Alignment |
Aligns the selected objects. |
|
|
Spacing |
Opens the spacing dialog box. |
|
|
Same size |
Resizes the selected controls to the same size of the dominant control. |
|
|
Buttons |
Positions the buttons either at the right or at the bottom. |
|
| Test | Starts the dialog box under the test mode | |
|
Zoom |
Starts the zoom utility. |
|
|
Config |
Opens the configuration dialog box of the resource editor. |
|
|
Output |
Shows the name of the output files. |
|
Compiler: Compiler specific options. Make, Makefile generation, link, debug, execute, etc.
|
Make |
Calls the Make utility to build the current executable. If the Make utility is running, there will be an entry to stop the building process at this point. |
|
Shows results |
Shows the results (errors or warnings) of the last compilation, if any. |
|
Link |
Calls the link editor. |
|
Generate Makefile |
Generates an ASCII text file (Makefile) that specifies the dependencies of the project files to the Make utility. |
|
Rebuild all |
Erases all object files and starts a build. |
| Check syntax | Starts the compiler in check mode and reports results |
|
Debugger |
Starts a debugging session. |
|
Breakpoints |
Calls up the breakpoint editing dialog box. |
|
Set breakpoint |
Sets a breakpoint at the current position. |
|
Execute |
Runs the executable of the project. The arguments to the program (if any) are the ones specified in the debugger configuration tab. |
|
Compile |
Compiles the current file. |
· Debug. This menu option appears when the debugger is active, in the place of the compiler menu, assuming you do not compile when the program is being debugged.
|
Execute |
Continues the execution of the program. Breakpoints remain active. |
|
Step in |
If the current line contains a function call, the debugger will step into that function, provided there is debug information for it. If there is no function call, the program is stopped at the next line. |
|
Same level |
Continues the execution of the program until it reaches the next source line. |
|
Step out |
Continues the execution of the program until it leaves the current function. Breakpoints remain active and can stop the execution of the program before the end of the function is reached. |
|
Run to cursor |
Continues the execution of the program until it reaches the line pointed to by the text cursor. If that line is never reached this is equivalent to Execute. |
|
Stop debugging |
Stops program execution and returns to the editor. |
|
CPU |
Shows the machine register window. |
|
Stack |
Shows the execution stack. |
|
Memory |
Allows you to inspect memory locations. |
|
Machine instructions |
Shows the disassembly window. |
|
Watchs |
Shows the watch window. |
|
Evaluate symbol |
Shows the symbol evaluation dialog box. |
|
Info |
Shows information about the program current running, its threads, its windows, etc. |
|
Restart |
Stops the current process, terminates it, and restarts the debugger, stopping at the main or WinMain function. |
|
Break |
Immediately stops the execution of the program wherever it is. |
|
Breakpoint |
Sets a breakpoint at the current position of the text cursor. |
|
Edit breakpoint |
Shows the breakpoint editing dialog box. |
|
Data breakpoint |
Allows you to set a breakpoint that will be triggered when the program accesses a certain memory location or variable. |
Utils: Several help programs such as diff, generating a hypertext file from a program file, information about variables, structures, etc.
|
Execute |
Runs a specified program. |
|
Diff |
Calls up the diff utility to determine the differences between two files or two directories |
|
Profiler |
Calls up the profiling utility to determine where your program uses its time. |
|
Analysis |
Analyzes the project or a file. The detailed menu options are described below. |
|
Apply patch |
Applies a patch file. This option is not currently functioning well. The patch should be generated with the diff option ‘generate patch’. |
|
Database wizard |
This will appear if Berkeley DB of Sleepycat Software is installed |
|
Show #ifdefs |
Redraws the current file showing inactive lines in gray. |
|
Executable stats |
Shows the size of each part of the executable: code, data, etc. The DLLs used are also shown. |
|
Function size stats |
Determines all sizes of each function in the executable of the project file, sorts it by size, and displays the result in a normal editor window. |
· Analysis. These commands allow you to browse or get other information about a specific file or about the project as a whole.
|
Import foreign library |
Allows the user to read a dll import library in the Microsoft format, and transform it into a library in the lcc format. |
|
Show #includes |
Shows all the include files in the current open file. The display is in the output window. |
|
ObjXref |
Shows a cross-reference of all object files created by the current project, showing which functions are defined, but not called from other files, for instance, or a graphical plot of the object files relationships: which files call which. |
|
Function tree |
Prompts for a function in the current file and shows which functions are called by that function. |
|
Generate HLP |
Generates a help file automatically with the definitions of the functions in your program. |
|
Strings |
Allows you to automatically replace the character strings in a source file by a reference to either a table or a resource. |
|
File metrics |
Shows the software metrics for the current file. |
|
Function metrics |
Shows the software metrics for the specified function. |
|
Write prototypes |
Writes in a specified file the prototypes for the functions in the current file. |
|
Browse fn defs |
Opens a dialog box showing you all defined functions in the files currently opened. |
|
Show globals |
Shows the global variables of the current file. |
|
Slice by local |
Shows the lines that concern a specific identifier, i.e., a program slice. |
|
File relations |
Shows the relationship between two given files. |
|
Audit |
Writes a document with all metrics of all loaded functions. |
Window: All loaded files are listed here.