2.1 Open the Editor Panel

You can open the Editor panel by any one of the following method.

The Editor panel can be opened multiple times (max. 100 panels).

Caution 1.

When a project is closed, all of the Editor panels displaying a file being registered in the project are closed.

Caution 2.

When a file is excluded from a project, the Editor panel displaying the file is closed.

(1)

Double-click a file on the Project Tree panel

On the Project Tree panel, double-click a file shown in "Table 2.1 Files That Can Be Opened in Editor Panel".

Caution

When an external text editor is set to be used in the Option dialog box, the file is opened with the external text editor that has been set.
Files other than below are opened with the applications associated by the host OS (a file with the extension that is not associated with the host OS is not displayed).

Table 2.1

Files That Can Be Opened in Editor Panel

Type of File

Extension

C source file

*.c

C++ source file [CC-RX]

*.cpp, *.cc, *.cp

Header file

*.h, *.inc, *.hpp [CC-RX]

Assembly source file [CC-RH]

*.asm, *.s, *.fsy

Assembler source file [CC-RX]

*.src, *.s

Link order specification file

*.mtls

Link map file [CC-RH]

*.map, *.lbp

Map file

*.map, *.lbp [CC-RX]

Intel HEX file [CC-RH]

*.hex

Hex file

*.hex

Motorola S-record file [CC-RH]

*.mot

S record file [CC-RX]

*.mot

Assemble list file

*.prn [CC-RH], *.lst [CC-RX]

Stack information file [CC-RH]

*.sni

Jump table file [CC-RX]

*.jmp

Symbol address file [CC-RX]

*.fsy

Cross reference file [CC-RX]

*.cref

Link subcommand file [CC-RX]

*.clnk

Python script file

*.py

Text file

*.txt

Figure 2.1

Open of File (When Disconnected from Debug Tool)

(1): Line number area

(2): Selection area

(3): Main area

(4): Characters area

(2)

Download a load module file

Click the button on the debug toolbar.

The Editor panel automatically opens with displaying the contents of the downloaded source file after a load module file is successfully downloaded.

Remark

For details on how to download, see "CS+ Debug Tool".

Figure 2.2

Open of Source File (When Connected to Debug Tool)

(1): Line number area

(2): Selection area

(3): Out of date module Indicator area

(4): Coverage area

(5): Address area

(6): Event area

(7): Main area

(8): Characters area

Remark 1.

You can open a file with a specific encoding selected in the Encoding dialog box that is opened by selecting the [File] menu >> [Open with encoding...].

Remark 2.

When a file whose size is greater than 24MB is opened, a message dialog box is shown for confirmation of whether or not to disable all of the functions listed below (if you select [No] in this message dialog box, the operation speed may become sluggish).

-

Syntax (reserved words, comments, etc.) coloring

-

Code outlining function (see "2.4.5 Use code outlining")

-

Smart edit function (see "2.4.6 Use the smart edit function")