User`s guide
© 2006 Microchip Technology Inc. DS51519B-page 189
MPLAB
®
IDE
USER’S GUIDE
Chapter 15. Using the Editor
15.1 INTRODUCTION
The MPLAB Editor is an integrated part of the MPLAB IDE Integrated Development
Environment. The editor is always available when MPLAB IDE is running.
The MPLAB IDE and MPLAB Editor are designed to provide developers with an easy
and quick method to develop and debug firmware for Microchip Technology’s PICmicro
microcontroller (MCU) and dsPIC digital signal controller (DSC) product families. For
more information on these devices, visit the Microchip web site.
The editor functions in a File window of MPLAB IDE. Menu items (on File and Edit
menus and a right mouse menu) are available for editor control.
The MPLAB Editor allows you to use the following features for general text editing.
15.1.1 Inserting, Selecting and Deleting Text
You can enter text in either insert or strike-over mode. MPLAB Editor shows the mode
as either “INS” or “OVR” on the status bar. The text you enter may contain any combi-
nation of the standard alpha-numeric and punctuation characters. You can enter
additional characters with special keys and\or key combinations.
Text selection features allow you to select a character, word, entire line or other blocks
of text. You can copy or delete any selected text. MPLAB Editor's built-in find and
replace feature allows you to search for and replace text.
15.1.2 Indenting Text and Removing Indentation
You can change the indentation level of one or more lines of text.
You can specify whether new lines are automatically indented.
15.1.3 Delimiting Source Code Blocks
You can find matching brackets, such as braces and parentheses, which often delimit
sections of text or program sources.
15.1.4 Undoing Edit Actions
You can reverse edit actions with the Undo command, and do them over again with the
Redo command.