Symbol browsing in an object-oriented development system5740444Abstract A system of the present invention includes a development system having a language compiler for generating application and system software from source listings. The system includes an Integrated Development Environment having a browser. Methods of the present invention include inspecting symbols (e.g., classes, objects, methods, variables, and the like) dynamically, i.e., while retaining active scope of the symbol. More particularly, the browser of the present invention directly references symbol information stored in object code or executable modules, which are generated during compilation of the source listings. In this manner, the system provides symbol information directly relevant to the context (location in source listing) the user/programmer is currently working. Claims What is claimed is: Description COPYRIGHT NOTICE
______________________________________
while (GetMessage (&msg, NULL, 0, 0))
{
TranslateMessage (&msg) ;
DispatchMessage (&msg) ;
}
return msg.wParam ;
______________________________________
where a message (&msg) is retrieved by a call to GetMessage (step 263); if needed, the retrieved message may be translated by a call to TranslateMessage and then dispatched by a call to DispatchMessage (step 269). This "while" loop continues until the GetMessage function returns a value of zero--indicating that the loop has read a WM.sub.-- QUIT message from the queue, telling the application to end (yes at step 265). The general mechanism for retrieving and dispatching messages in an event-based system, such as Microsoft Windows, is known in the art; see, e.g., Petzold, C., Programming Windows, Second Edition, Microsoft Press, 1990. Additional information can be found in Microsoft's Window Software Development Kit, including: 1) Guide to Programming, 2) Reference, Vols. 1 and 2, and 3) Tools, all available from Microsoft Corp. of Redmond, Wash. The disclosures of each of the foregoing are hereby incorporated by reference. C. Development System Referring now to FIG. 3A, the development system 300 of the present invention will now be described in further detail. System 300 includes an compiler 320, a linker 350, and an interface 310. The general operation of these components will now be described. As shown in FIG. 3B, interface 310, through which the user or developer supplies source listings 301 to the compiler 320, includes both command-line driven 313 and Integrated Development Environment (IDE) 311 interfaces; the former accepts user instructions through command-line parameters, the latter providing menuing equivalents thereof. Shown in further detail in FIGS. 4A-B as interface 400, the IDE is a rectangular GUI interface including a main menu 410, a toolbar 420, a client area 450 (for editing source listings), and a status line 440. Menu 410 is a conventional Windows pulldown menu system, whereby the user may enter commands with a keyboard or mouse device. Typical commands include, for instance, file open, search and replace, compile, and the like. Toolbar 420 compliments the menu 410, in essence duplicating much of its functionality. Shown particularly in FIG. 4B, the toolbar 420 includes individual tools or screen buttons 421-433, which are accessible to the user with a single mouse click. For instance, button 421 provides general online help, while buttons 422, 423 provide instant access to disk files. Buttons 424, 425 provide search functionality; buttons 426-428, on the other hand, provide cut and paste features. Button 429 provides an undo feature for reversing or "undoing" user operations. Finally, buttons 430, 431 provide compile and make features, and buttons 432, 433 perform make and run operations. Client area or editing worksurface 450 is where most of the work of creating application software occurs. In this regard, surface 450 includes a text editor interface for displaying and editing the source listings which are compiled into application or system software. In the code snippet shown in FIG. 4A, for example, editor surface 450 includes a Pascal source file for a Windows application program. Specifically, the "symbols" which comprise the source listings are displayed. Thus, the symbols are the basic constructs which are employed for developing the application software. For instance, "HandleSend" is a method (in this instance a Pascal procedure) for the class TTestApplication. TTestApplication, in turn, is derived from TApplication. Needless to say, a program of even modest complexity will have numerous symbols which somehow must be managed by the programmer. And for object-oriented programming systems in particular, the symbols will often comprise a complex hierarchy--one which may be conceptually difficult to visualize. Referring back to FIGS. 3A-B, from the source code 301 and header/include files 330, the compiler 320 "compiles" or generates object modules or files 303. As shown, the compilation process may include debugging and browsing information; specifically, explicit references to the symbols of the source listings (e.g., line numbers) are stored in the object modules 303. As described in further detail hereinbelow, this information is referenced by a browser 380 (preferably through the interface 310). Upon successful creation of object (.obj) files, linker 350 next "links" or combines the object files 303 with standard libraries 360 (e.g., graphics, I/O routines, startup code, and the like) to generate program(s) 305, which may be executed by a target processor (e.g., processor 101 of FIG. 1). In addition to standard libraries, development system 300 provides class libraries 365, C++ libraries which simplify windows development (as described in further detail hereinbelow). A debugging module 370 may be added, as desired, for eliminating errors in the program listings 301. In a preferred embodiment, system 300 includes Borland C++ & Application Frameworks.TM. 3.1, available from Borland International of Scotts Valley, Calif. For general background on the construction and operation of compilers, see e.g., Fischer et al., Crafting a Compiler with C, Benjamin/Cummings Publishing Company, Inc., 1991, the disclosure of which is hereby incorporated by reference. Simplified Windows Development: Object-oriented Programming A. Introduction When one examines what makes Windows programming difficult, two things stand out: the event-driven model and the voluminous code required to make anything happen. Object-oriented programming (OOP) provides a simplified approach to both. With an object-oriented language, the programmer does not have to write a lot of tedious Windows message-dispatching code with special case arms for different types of messages. Instead, he or she creates reusable objects which know how to respond directly to individual message. Of particular interest to the present invention are object-oriented embodiments supporting C++ and Object Pascal programming language, which includes features of data encapsulation, inheritance, and polymorphism. For a general introduction to C++, see e.g., Ellis, M. and Stroustrup, B., The Annotated C++ Reference Manual, Addison-Wesley, 1990. Additional information about object-oriented programming and C++ in particular can be found in Borland's C++ 3.1: 1) User's Guide, 2) Programmer's Guide, and 3) Library Reference, all available from Borland International of Scotts Valley, Calif. General information describing the syntax of object pascal can be found in Borland Pascal with Object, also available from Borland. The disclosures of each of the foregoing are hereby incorporated by reference. B. Improved Browsing of Symbol According to the present invention, a browser 380 is provided for exploring the objects in one's programs. In particular, the user can browse through object hierarchies, units, and all the procedures, functions, variables, types, constants, and other symbols his or her program uses. Using the browser of the present invention, one can do the following: 1) View the object hierarchies in an application, then select an object and view all the procedures, functions, and other symbols it contains. As the user examines a symbol, he or she can choose to list all references to it in a program and, if desired, go directly to where it is used in the source code. 2) List the global symbols a program uses and list their declarations. If the user selects one, he or she can list all references to it in his or her program and, if desired, go directly to where it is used in the source code. 3) List all the object modules (e.g., Pascal units) a program uses, then select one and list all the symbols in its interface part. 4) Select a symbol in one's source code, then view its details instantly (e.g., by clicking the right mouse button). 5) Open multiple browser windows, compare the symbols displayed in different windows, and then return to a local symbol. At this point, a distinction should be made between browsing in accordance with the present invention and the mere presentation of static class hierarchy information. As shown in FIG. 5 for the IDE 400, for example, the user has selected a symbol, the class TApplication 501. In response to a user request for help information, the system displays the help dialog 510. Not unlike a conventional browsing system, help dialog 510 merely provides static information akin to an on-line help system. The browser of the present invention, in contrast, provides "live" or dynamic symbol information derived directly from one or more object (or executable) files as will now be described. In general operation, the user compiles the program he or she wants to browse. Next, the browser is activated (e.g., choose Objects, Unit, or Globals on the Search menu). Alternatively, the user can also place the screen cursor on the symbol of interest in the code and launch the browser (e.g., choose Search.linevert split.Symbol). As illustrated in FIGS. 6A-B for the IDE 400, for example, the user selects the symbol 501 and invokes the browsing local menu 601, which includes a plurality of choices relevant to the symbol currently being browsed. Upon selection of "browse symbol at cursor" 610, the system displays a browsing window 620 (as shown in FIG. 6B). The construction and operation of the browsing window itself is set forth in further detail hereinbelow. According to the present invention, the compiler "remembers" or preserves symbol information between compilations by storing references (e.g., line numbers) in the object file. If one makes a change to a program, but the next compilation fails, the symbol information is still available from the previous compilation. Therefore, the user can still browse through the program to help pinpoint where the problem lies. In a preferred embodiment, this feature is provided as a Preserve Symbols option (a default setting). While the browsing information is stored within the object file, no particular object file format is required for practicing the present invention. For instance, the present invention may be implemented within Microsoft's .obj file format; for a description of the format, see e.g., Siering, T., Understanding and Using .OBJ Files, C Gazette, Volume 5, Number 3, pages 11-31. In a preferred embodiment, Borland's object file and symbol table formats are employed; see e.g., Borland Languages Open Architecture Handbook, 1991, available from Borland International. The disclosures of both of the foregoing references are hereby incorporated by reference. As show in the figures below, the user can also invoke a "Browse Symbol at Cursor" (e.g., from an edit window local menu) to quickly browse the symbol the cursor is resting on in the code. With a mouse device, the approach to browsing through one's code is most convenient if a mouse button (e.g., the right one) is dedicated to activating the browser. In this fashion, the user can readily inspect an object, procedure, function, variable, or other symbol in the source code by clicking on it (in conjunction with a keyboard event, if desired). Referring now to FIGS. 7A-B, a preferred user interface for the browser is shown. Browser window 700 includes a toolbar or button (screen) icon menu 720 at the top of the window. A button is invoked in response to a user event, e.g., clicking it with a mouse cursor or using a hot key. As shown in FIG. 7B, the buttons and the action they perform are as follows. Help button 721 (keyboard equivalent: F1) provides help information. Code button 722 (keyboard equivalent: Ctrl+G) goes to the source code for the selected item. (For search buttons, exactly which buttons appear on the SpeedBar depends on which browser window the user is working with). For browse button 723, (Ctrl+B) the system browses (view the details of) the selected item. For back button 725 (Ctrl+V), the system views the previous browser window (if any). For object hierarchy viewing, button 726 (Ctrl+O) displays an overview of the object hierarchy. Reference button 724 (Ctrl+R) causes the system to list all references of a symbol. Print button 727 directs a graphical representation of the object hierarchy to the printer. For single window button 728 (Ctrl+W), the system replace current browser window. For multiple window button 728 (Ctrl+W), the system opens a new browser window. The last two buttons shown are actually two different views of the same button. The first time the user uses the Browser, the single window button is displayed. After selection, it is replaced with the multiple window button. When one chooses the single window button and begins browsing, a new browser window replaces the previous window each time one performs a new browsing action. When one chooses the multiple window button, windows remain onscreen until they are closed. One can quickly reverse the action of the Window buttons by holding down Shift as one selects the next browse action. For example, if the Multiple Window button is displayed, when the user holds down Shift, the next browser window opened replaces the current one. As shown in FIG. 7A, the browser window 700 includes a client area 750. This is where browsing information is displayed. As shown, client area 750 displays a list of browsing information 760, which comprises context-sensitive browsing information for the current symbol. Also shown are parents (superclasses) and children (subclasses) for the current symbol (which in this instance is a class). As readily seen, TApplication class includes a TObject parent class 755 and a TestApplication child class 757. Also shown in FIG. 7A, browsing window 700 includes a filter interface 770 for filtering or otherwise selectively restricting the display of members in the list 760. Corresponding to the filter interface 770 are type identifiers or indicia 771. These identifiers readily communicate type information for a member of the list. The boolean function CanClose 773, for example, is a symbol of type function (F), which also happens to be a virtual (V) function. With particular reference to FIG. 7B, the operation of the filter interface 770 may now be understood. Interface 770 is a matrix displaying type information for the members of the list 760. For instance, the type "function" is shown as "F" 771, while the type "inherited" is shown as "I" 773. In a manner not unlike the operation of a DIP (dual-inline package) switch, the user may toggle typesettings between an on column 775 and an off column 777. The interplay between toggling typesettings in the interface 770 and the display of the list 760 is illustrated in FIGS. 7C-F. In FIG. 7C, the type "function" is toggled off; in response, members of type "function" are removed or "filtered" from the displayed list. FIGS. 7D-F illustrate the toggling of other filters, with the resulting effect on the displayed list. The browser of the present invention lets the user see the overall picture, including the object hierarchies in an application, as well as the small details. To see relationships (class hierarchy) between the objects displayed graphically, the user activates the browser (e.g., chooses Search.linevert split.Objects). As shown in FIGS. 7G-H, the browser opens a window and draws the objects and shows their ancestor-descendant relationships arranged in a hierarchical structure, for instance, a tree 780. Connecting lines help to clarify ancestor and descendant relationships. Red lines are employed in the hierarchy to help the user see the immediate ancestor-descendant relationships of the currently selected object more clearly. To see more detail about a particular object, a user need only select (e.g., double-click) it. In response, the browser lists the symbols (e.g., procedures, functions, variables, and the like) used in the object. This technique is illustrated in FIGS. 7I-N. In FIG. 7I, the window 781, which shows information for TObject (the parent of TApplication), is displayed in response to the user selecting TObject from the display area 780 (of FIG. 7H). In this manner, the user may readily browse up and down an inheritance hierarchy for inspecting its various members. FIGS. 7J-N illustrate the browsing of TCollection, TScroller, TStream, TValidator, and TWindowsObject--all descendants of TObject. For a large object hierarchy, the user can choose to not display the descendants of a particular object (e.g., by pressing the - (minus) key). With a mouse, the user simply clicks the horizontal line that attaches the object to the hierarchy. Now the object displays a + (plus sign) next to it and is highlighted, indicating that descendants of this object are not displayed. To display the descendants of the object again, the user selects an object that is prefaced with a + sign and presses the + key. With a mouse, one clicks the horizontal line that attaches the object to the hierarchy. The descendants of the object reappear. From the object hierarchy, one can view all the symbols declared in a single object. The user selects the object and press Enter or double-click the object. As the user views the symbols declared in an object, he or she can choose to see different views: 1) Clicking the letter I at the top of the browser window or press Ctrl+I displays inheritance information for the object one is browsing. 2) Clicking the letter R at the top of the window or pressing Ctrl+R displays a list of the program or unit lines where the symbol is referenced. 3) Clicking the letter S or press Ctrl+S displays the scope of the object. To find a symbol in a list of displayed symbols, the user types the first letters of the symbol's name; the cursor then moves to the symbol quickly. In a preferred embodiment, the user is given considerable control as to how the browser displays information. For instance, the user can choose which symbols the browser displays. From a Browser Options dialog box, in the Symbols group, the user checks only the symbols he or she wants to see displayed in the browser. ONe can also choose to see symbols inherited from an object's ancestors. Only the symbols selected will appear in the browser. The user can also select which symbols appear only in the current browser window. Within the browser window local menu can display the Local Browser Options dialog box. For instance, if one selects types, variables, and procedures as the type of symbols to view, and then browse through the Location object in a typical program, the following symbol information may be displayed: (The abbreviations to the left of the listed symbols represent the kind of symbol displayed. Note that turning the procedure symbols off also turns functions off.)
______________________________________
Symbol Meaning
______________________________________
const Constant
func Function
label Label
proc Procedure
type Type
var Variable or a typed constant
______________________________________
One may simply re-display the previous browser window (e.g., selecting Search.linevert split.Previous Browser or pressing Ctrl+P). When browsing a selected symbol, the browser window displays scope information by default. One can also display fully qualified identifiers. In a preferred embodiment, this feature may be toggled through a Qualified Symbols display option. By default, the browser displays complete declaration information for the symbol being inspected. The user can view all fields and methods of records and objects, including fully qualified identifiers. If one does not want to see the identifiers fully qualified, however, the Qualified Symbols display option is toggled off. Also by default, the browser displays identifiers in the Scope pane in the order they are declared. Alternatively, all identifiers may appear in alphabetical When the browser displays reference information, one can choose to edit the program line displayed in a reference or track references to a symbol. Tracking means the Integrated Development Environment (IDE) highlights one program line after another in the source code as one moves through the references in the browser window. To edit the program line displayed in a reference, the user selects the reference in the browser window. The cursor jumps to the program line in the source code referenced in the browser window. The user can now edit the program line. The present invention also includes a method for auto tracking source code. In particular, when one scrolls through references, program lines are highlighted in the source code automatically. How program lines referenced in a browser window are tracked can vary. Source Tracking options also affect the Messages window and the integrated debugger. With a specific code module, just as with objects, one can view scope or reference information for a symbol. In operation, the user opens a window that displays the global symbols used in the program, listed in alphabetical order. By selecting (e.g., clicking) the symbol the user receive more information about that symbol. A Search input box is displayed at the bottom of the window to let the user quickly search through a list of global symbols by typing the first few letters of the symbol's name. As the user types, a highlight bar in the list box moves to a symbol that matches the typed characters. Once the user selects the global symbol of interest, he or she can choose the browse button to see the declaration of the symbol; choose a Go To Source Code button to see how the symbol is declared in the source code; or choose a Reference button to see a list of references to the symbol. To go to the actual reference in the code, one selects (e.g., double-clicks) the reference in the reference list. The user can also browse through all the object modules (e.g., Pascal units) a program uses. By selecting Search.linevert split.Units, the user may open a window that lists all the units in a program and the application name itself. Next, the user selects the unit he or she wants more information about. As with global symbols, one can search through the unit list by typing the first few letters of the unit name in the Search input box at the bottom of the window. Once the user has selected the unit, he can list all the symbols in the interface part of the unit as follows. In a displayed list of units, the user selects (e.g., double-clicks) the unit name and chooses Inspect to see the symbol's declaration. To go to the line in the source code where the symbol is declared, the user chooses the Go To Source Code button. To list all references to the symbol, the user chooses the Reference button. Upon selection of one of these references, the browser positions the cursor at that reference in the source code. The user can also browse any symbol in the code without viewing object hierarchies or lists of symbols first. In an exemplary embodiment, the user chooses from one of three methods: (1) highlighting the symbol in the code and choose Search.linevert split.Symbol; (2) selecting with a mouse (e.g., hold down the Ctrl key and click the symbol in the code with the right mouse button; or (3) click the right mouse button or press Alt+F10 to display the local edit window menu and choose Browse at Symbol. If the symbol selected to browse is a structured type, the browser shows the user all the symbols in the scope of that type. The user can then choose to inspect any of these further. For example, if user selects an object type, he or she see all the symbols listed that are within the scope of the object. As in the case of objects, one can open additional browser windows to view program line references to that symbol, the symbol's declarations, and, for objects, the inheritance hierarchy. When reference information is displayed, one can track or edit program lines. To browse a symbol in source code, the user places the cursor on the symbol and choose one of the following. He or she choose Symbol from the Search menu to display the Browse Symbol dialog box and accepts the symbol listed in the dialog box, or enter another symbol. He or she clicks the right mouse button (or keystroke, e.g., Alt+F10) to display an edit window local menu, and choose Browse Symbol at Cursor. Alternatively, one may set the right mouse button to browse symbols in response to holding down a key (e.g., Ctrl key) and clicking the right mouse button. The type of information displayed depends on the type of information available for the symbol selected. If the symbol one has selected has no scope information available, the browser displays reference information for the symbol. For example, only reference information is available for a simple constant. If the symbol selected does have scope information available, the browser displays scope information for the symbol, with the option to see reference information. If the symbol selected is a structured type, the browser displays scope information for the type and gives the user the options to see inheritance and reference information. If one selects to see the inheritance information, he or she will see the immediate ancestor of the type and immediate descendants, if any. If one selects a structured type to browse, the browser displays fully qualified names if one of two conditions are met: (1) an Inherited symbol option is checked in the Browser Options dialog box (Options.linevert split.Browser) or in the Local Browser Options dialog box (browser window local menu.linevert split.Options), and (2) a Qualified Symbols option is checked in the Browser Options dialog box (Options.linevert split.Browser) or in the Local Browser Options dialog box (browser window local menu.linevert split.Options). C. User interface filtering According to the present invention, one or more screen symbols, such as letters, graphics, glyphs, or other representative indicia, appear to the left of each symbol in an object. These describe the type of symbol being browsed. Using letters as screen symbols, for example as shown in FIG. 7A, the following type information is readily conveyed to the user.
______________________________________
Letter Symbol
______________________________________
F Function
P Procedure
T Type
V Variable
C Constant
L Label
I Inherited from an ancestor
p Private symbol
v Virtual method
______________________________________
More particularly, the present invention provides interface components for filtering or otherwise selectively displaying information based on user selection of these screen symbols. As shown in FIGS. 7C-F, for instance, the same letters that identify the kind of symbol appear in a Filters matrix at the bottom of the browser window. The user can apply filters to select the type of symbols he or she wants to see listed. Alternatively, the user can also use the options dialog box to select the type of symbols. The Filters matrix has a column for each letter; the letter can appear in the top or bottom row of this column. To view all instances of a particular type of symbol, the user clicks the top cell of the letter's column. For example, to view all the variables in the currently selected object, the user clicks the top cell in the V column. All the variables used in the object appear. Several filter settings can be changed at once. For instance, the user can drag the mouse cursor over the cells he or she wants to select in the Filters matrix. To hide all instances of a particular type of symbol, the bottom cell of the letter's column is clicked. For example, to view only the functions and procedures in an object, the user can hide all the variables by clicking the bottom cell in the V column, and clicking the top cells in the F and P columns. In some cases more than one letter appears next to a symbol. The second letter appears just after the letter identifying the type of symbol and further describes the symbol, for instance: I indicates an inherited symbol p indicates a private symbol v indicates a virtual symbol In an exemplary embodiment, to view the declaration of a particular listed symbol, the user does one of the following: (1) Double-clicks the symbol; (2) Selects the symbol and click the Browse button (press Ctrl+B); or (3) Selects the symbol and press Enter. D. Preferred Methods The present invention provides all the necessary integrated debugging/browsing information needed to track or edit the source code where a code module (e.g., Pascal unit or C/C++ object module) is referenced. A general overview of this concept is represented by the block diagram of FIG. 8A. As shown, the browser 380, which is operably coupled to the interface 310, communicates with object files 810 (where browsing information is stored) through a driver 820. The driver 820 is specific for a particular target language (e.g., Pascal, C++, and the like). The driver includes methods for returning name, type, and member information for a particular symbol of interest. The method for this operation will now be described. Referring now to FIGS. 8B-C, a method 850 of the present invention for browsing symbols in source listings will now be described. In step 851, a request is received from the user for browsing a symbol of interest. In step 852, the method retrieves the symbol which has been selected by the user, using known methodology (e.g., hit testing). In step 853, the symbol is "hooked up" with its instance in the code by retrieving a handle to the symbol (HSYM) from the browser table (stored in the object file). At step 854, browsing information for the current symbol (e.g., name, type, members, and the like) is enumerated. At step 855, if the current symbol includes other members (e.g., data structures, methods, parents, children, and the like), then the method proceeds to step 856 to enumerate these members as well (constructs a list, preferably a tree) of members (accessed through handles). At step 857, the method loops back to step 854 as required by the user (e.g., for browsing parent and children members). If additional members do not exist at step 855, however, then steps 856 and 857 are skipped. After these steps, the method concludes. Referring now to FIG. 8C, steps 854-856 of FIG. 8B are shown in particular detail. A method 870 for enumerating information proceeds as follows. In step 871, the method gets the name (e.g., text string) for the current symbol being referenced. At step 872, the method gets at least one type information for the symbol (e.g., function, virtual, and the like). If the symbol is of a type which has additional members (e.g., symbol is a class) at step 873, then the method proceeds to steps 874-876 to enumerate these members. Specifically, at step 874, data structures (e.g., variables) and methods (e.g., procedures and functions) are enumerated. At step 875, any parents are enumerated, and at step 876, any children are enumerated. If the symbol type does not have additional members (e.g., type is "constant"), then steps 874-876 are skipped. At the conclusion of the subroutine, the method returns (back to method 850). Referring now to FIG. 8D, a method of the present invention for filtering the display of screen information is illustrated by a flowchart 880. At step 881, browser information (e.g., name, types, and members) for the current symbol is determined (as shown in FIGS. 8B-C). At step 882, the method displays a matrix of filter switches--a user interface component for effecting filters. At step 883, the method determines (from the matrix) which types are to be filtered (i.e., not displayed). At step 884, the method displays only those members of the list which are not to be filtered. At step 885, the next user event (e.g., mouse and/or keyboard event) is retrieved. At step 886, if the user has enabled or disabled filter settings, then the method returns to step 883 to update display of the list. If the filter matrix has not been changed (false at step 886), then the method loops back to step 885 to retrieve the next user event (until the user is done). Appended herewith as Appendix A are exemplary user commands for operating the browser of the present invention. Those skilled in the are will appreciate other command syntaxes which are also suitable for use with the present invention. Specifically, the commands of Appendix A are offered for purposes of illustration, not limitation. While the invention is described in some detail with specific reference to a single preferred embodiment and certain alternatives, there is no intent to limit the invention to that particular embodiment or those specific alternatives. For example, the foregoing description has focused on a preferred embodiment operative within the Microsoft Windows environment; those skilled in the art will appreciate, however, that the individual classes may be adapted for other platforms, including, for example, OS/2, NeXTStep, X-Windows, and the like. Moreover, the browsing methods of the present invention are not limited to any particular language but, instead, may be advantageously applied wherever browsing of symbols is desired. Thus, the true scope of the present invention is not limited to any one of the foregoing exemplary embodiments but is instead defined by the following claims.
APPENDIX A
______________________________________
Table lists exemplary keys and menu commands that
activate specific browser functions.
Task: Preferred command:
______________________________________
Browse objects Choose Search.linevert split.Objects.
Browse units Choose Search.linevert split.Units.
Browse global symbols
Choose Search.linevert split.Globals.
Browse Symbol Place the cursor on the symbol in
the code, choose Search.linevert split.Symbol, or
hold down Ctrl and click the right
mouse button.
Select Browser Option
Choose Options.linevert split.Browser.
Select Source Tracking
Choose
Options.linevert split.Environment.linevert split.Options
2
Preferences.
Select Mouse Options
Choose Options.linevert split.Environment.linevert
split.Mouse.
Open a Previous browser
Choose Search.linevert split.Previous Browser,
choose Previous on the browser
window local menu, or press Ctrl+P.
Select Local Browser
Press Ctrl+O, or choose Options on
Options browser window local menu.
Edit source code
Press Ctrl+Enter, press Ctrl+G, or
choose Goto Source on the browser
window local menu.
Track source code
Press Spacebar from the Browser,
press Ctrl+T, or choose Track
Source on the browser window local
menu.
Display reference info
Press Ctrl+R from the browser or
click the R in the window frame.
Display scope info
Press Ctrl+S from the Browser,
or click the S in the window frame.
Display inheritance info
Press Ctrl+I from the Browser,
information or click the I in the
window frame.
Reverse Sub-browsing
Hold down Shift while selecting the
setting next browsing action.
______________________________________
|
Same subclass Same class Consider this |
||||||||||
