Notes on the Source editor
Here are additional comments on the Source editor.
Compared to the former Method editor:
During stream-out, procedures have a comment generated inline which identifies all methods linked to them. This plus the hierarchy visible in the tree view replaces the function of the "linktext" static text control that appeared in the former Method editor.
The tree view points at the top and bottom of the source files, showing the equivalent of "header" and "general" in the former Method editor.
When editing a .PRG file, the Method menu’s New Method, Delete Method, and Verify Method commands are available. They work on whatever "method" is at the current cursor position. If no method can be identified, the menu commands are unavailable.
When designing a form, report, menu, or data module file, three more commands are available on the Method menu: Edit Event, Link Event, and Unlink. Edit Event can generate wrappers for functions or procedures that are not yet part of the source, useful with the new tree view.
If you attempt to edit a method in a base class, and you elect not to override that method in the derived class, dBASE Plus opens the source file for that base class in the designer. If it is already opened, it is given focus, and the cursor is positioned at the method.
When you switch focus from the designer to the editor, it purges the editor’s Undo buffers.
Opening a file named in code:
Choosing Edit|Open File At Cursor opens a highlighted file, or the file at the cursor position. If no matching file is found, the Open File dialog box appears.
Choosing Edit|Open File At Cursor when a block of selected text includes more than just the file name, or no file name at all, opens the Open File dialog box.
Files with .WFM, .CFM, .REP, .CRP, .PRG, .CC, and .H extensions are opened in another instance of the editor. Other files are opened in their specific visual designer (for example, .DBF files are opened in the Table designer).
File names with extensions unknown to dBASE Plus and not registered with Windows produce an error.