fields parameter

Use the fields parameter to set or query the editing fields in a view.  An editing field consists of one or more columns.  When you insert or delete text in one field it does not affect the text in the fields that follow it.  Editing actions which operate on entire lines of text (such as the left or right shifting of an element block) ignore any editing fields defined in the view.

An editor application may instead implement the com.ibm.lpex.core.LpexFieldsProvider interface, in order to define editing fields dynamically on an element-by-element basis.  Use the element qualifier to query the specific fields of the current element.  In this case, the result of the query fields.element command will be provided by the editor application.

Availability

query command
set command

Scope

fields is scoped to the current view.
fields.element is scoped to the current element of the current view.

Syntax

query fields
query fields.element
set fields [ startColumn ] [...] 

Parameters

startColumn Use the startColumn parameter to indicate the starting column for a field.  You may specify as many starting columns as you wish.  Each starting column indicates the start of a new field.  You must specify the starting columns in ascending order.

Examples

query fields
set fields 7 73
query fields.element

Related reference
query command
set command
useSourceColumns parameter