Using an External Editor |
You can use an editor other than the one provided with Understand for Ada for viewing and editing your source code. The editor you select is used whenever you open source code. This provides convenient source navigation while using a familiar editor. For example, you can use Microsoft Visual C++ or Emacs as your editor.
You should choose an editor that accepts command line parameters that specify the file to open, and a line and column number to go to.
To change the editor, follow these steps:
For example, for the GVIM editor on UNIX, the Editor is “gvim”, and the Parameters should be as follows (for GVIM 6.0 or later):
For the TextPad editor on Windows, the Editor is most likely c:\Program Files\textpad4\textpad.exe, and the Parameters should be as follows:
If this box is checked, Understand for Adaruns in Multiple Document Interface (MDI) mode. The main application window contains windows opened from within Understand for Ada.
If this box is unchecked, Understand for Ada runs in Single Document Interface (SDI) mode. In SDI mode, there is no single application window to contain the Understand for Ada windows. Instead, each window is separate. In SDI mode, the Information Browser window has a “Stay on Top” push pin icon you can click to cause its window to stay on top of other windows. This is useful when using the Information Browser in conjunction with other tools as described in Server Mode: Controlling from Other Programs.
You will need to close and restart Understand for Ada in order for changes to the MDI/SDI setting to take effect.
Scientific Toolworks, Inc. http://www.scitools.com |