Editor Overview
The IDE includes an integrated editor, referred to as the
Source view, which is usually located in the bottom part of the
IDE. The Source view provides editing functions that let you
create and modify source files.
Clicking in the Source view area changes IDE focus to the
Source view. Actions available in the main menu bar and toolbar
change to reflect actions relevant to editing operations.
In addition to basic editing functions, the editor also offers
the following features:
- An optional annotation area at the start of each line can
display debugging breakpoints or highlight program source
code pertaining to objects selected in other IDE views.
- Language parsing uses automatic indenting, color, and
text effects to emphasize different parts of your source
program, such as C or C++ language keywords, logic
structures, comment lines, and arithmetic operators.
- Locations marking facilities let you define bookmarks
that let you move quickly from one location to another
within your source file.
- Elaborate search facilities let you specify the precise
scope of the search. In addition to locating specific
character strings, editor search facilities will also
accept regular expression search strings that can finding
matching search patterns in your source file.
- Multiple editing views let you have more than one file
open for editing at a time.
- Multiple editing windows let you open multiple views of
the same file for editing, letting you view different
parts of the file at the same time. Changes to the file
in any view are reflected immediately in other Source
views containing that same file.
- An Editor programming language lets you program elaborate
macros to automate recurring editing tasks.
- Keystroke recording facilities let you record
sets of keystrokes, which you can later replay or
incorporate into your own macros.
Some IDE functions will open an Editor window outside the IDE,
as will some editor commands. The editor can function on its own
as a full-featured programming editor independent of the IDE, but
you should avoid using the editor in this way for project-related
work. Work performed in the editor outside the IDE may not be
known or recognized by projects defined within the IDE. If an IDE
function opens an Editor window outside the IDE, you should use
that window only for the specific task for which it was opened,
and then close the Editor window immediately.
The Editor window has a different set of controls and performs
some functions differently than the Source view. Refer to Editor
window contextual help for assistance.