|
Inheritance
|
|
Script Debugger’s dictionary display can flatten the display of inherited attributes in the info pane. So, for example, looking at info for the Finder’s folder class shows you the info for the container class (because folder inherits from container) and the item class as well (because container inherits from item).
To flatten the display of inherited attributes:
- Choose the Dictionary > Show Inherited Properties and Dictionary > Show Inherited Elements menu items. If these menu items are checked, the display of inherited attributes is being flattened.
There is a different sort of dictionary flattening, which Script Debugger performs automatically. In some dictionaries, an entry is repeated multiple times. For example, the information about the application class might be distributed over two entries, each in a different suite. (So, for example, in TextEdit’s dictionary, some application class information is in the Standard Suite, some of it is in the TextEdit Suite.) In this case, Script Debugger will display the entry in its multiple locations, but in both places it combines the information from both entries. Thus, no matter which instance of the entry you look at, you will see all the information about that entry.