High-performance Embedded Workshop
4. Using the Editor
REJ10J1837-0100 Rev.1.00 Nov. 16, 2008
105
•
Select [
Edit -> Match Braces
],
OR
•
Select
Match Braces
from the pop-up menu.
To check the structure of an entire file, place the cursor at its start and then repeatedly invoke the match brace
operation. The editor will successively highlight each pair of braces in turn until there are no more left to match.
4.13
Setting the read-only attribute for a file
While using the High-performance Embedded Workshop, you can set a file to be read-only. When you attempt to save a
read-only file, a confirmation dialog box appears asking if you wish to save the file as another name.
To set a file to be read-only
1.
Select one of the following operations:
•
Right-click on a file in the
Projects
tab of the workspace window to open a pop-up menu. You can even select
multiple files,
OR
•
Right-click within the editor window to open a pop-up menu.
2.
Selecting
Properties
opens the
Properties
dialog box.
3.
Select the
Read-only
checkbox. If you have selected two or more files including both read-only and writable
files, the checkbox is gray (intermediate state). By default, this checkbox is not selected.
4.
The title bar of the editor window shows “Read-Only”.
When a file is open within the editor window and if you switch on/off the read-only attribute of the file via the
Windows® Explorer, it does not match the attribute shown on the title bar of the editor window (because the title bar is
not updated). The attribute shown on the title bar is not updated until you start modifying the contents or re-open the
file.
4.14
Preventing modification of files while debugging
Use this option if you wish to prevent modification of files while debugging with High-performance Embedded
Workshop and a debugging platform connected. This prevents modification of all files that are open in the High-
performance Embedded Workshop editor.
To prevent modification of files while debugging
1.
Select [
Setup -> Options
] to open the
Options
dialog box.
2.
Select the
Editor
tab.
3.
Selecting the
Do not allow file editing when target is connected
checkbox prevents modification of files
while the High-performance Embedded Workshop is connected to a debugging platform. In other words, if the
High-performance Embedded Workshop is not connected to a debugging platform, files can be modified. By
default, this checkbox is not selected.
4.
Click OK.
4.15
Managing the editor columns
The editor in High-performance Embedded Workshop has the ability to manage columns (apart from the main editor
column). These can be added and used by any component in the High-performance Embedded Workshop system.
Examples of this functionality might include a hardware breakpoint column added by the target, or possibly an address
Содержание High-performance Embedded Workshop V.4.05
Страница 132: ...High performance Embedded Workshop 5 Tools Administration REJ10J1837 0100 Rev 1 00 Nov 16 2008 117...
Страница 407: ...High performance Embedded Workshop Reference REJ10J1837 0100 Rev 1 00 Nov 16 2008 392 Reference...
Страница 424: ...High performance Embedded Workshop 6 I O File Format REJ10J1837 0100 Rev 1 00 Nov 16 2008 409...