9 storing external editors, Storing external editors – FUJITSU SOFTUNE F2 MC-16 User Manual

Page 28

Advertising
background image

14

CHAPTER 1 BASIC FUNCTIONS

1.9

Storing External Editors

This section describes the function to set an external editor to SOFTUNE Workbench.

External Editor

SOFTUNE Workbench has a built-in standard editor, and use of this standard editor is recommended.

However, another accustomed editor can be used, with setting it, instead of an edit window. There is no

particular limit on which editor can be set, but some precautions (below) may be necessary. Use the [Setup] -

[Editor setting] menu to set an external editor.

Precautions

- Error jump function

The error jump cannot move the cursor to an error line if the external editor does not have a function to

specify the cursor location when activated the external editor.

- File save at compiling/assembling

SOFTUNE Workbench cannot control an external editor. Always save the file you are editing before

compiling/assembling.

Setting Options

When activating an external editor from SOFTUNE Workbench, options must be added immediately after

the editor name. The names of file to be opened by the editor and the initial location of the cursor (the line

number). can be specified. SOFTUNE Workbench has a set of special parameters for specifying any file

name and line number, as shown in the Table 1.9-1. If any other character string are described by these

parameters, such characters string are passed as is to the editor.

%f (File name) is determined as follows:

1. If the focus is on the SRC tab of Project window, and if a valid file name is selected, the selected file

name becomes the file name.

2. When a valid file name cannot be acquired by the above procedure, the file name with a focus in the

built-in editor becomes the file name.

%x (project path) is determined as follows:

1. If a focus is on the SRC tab of project window and a valid file name is selected, the project path is a

path to the project in which the file is stored.

2. If no path is obtained, the project path is a path to the active project.

Also file name cannot be given double-quotes in the expansion of %f macros.

Therefore, it is necessary for you to provide double-quotes for %f. Depending on the editor, there are line

numbers to which there will be no correct jump if the entire option is not given double-quotes.

Advertising