maintainBidiMarks parameter

Use the maintainBidiMarks parameter to set or query whether the editor may insert bidirectional marks in documents with a bidirectional source encoding.  Bidirectional marks may be added automatically by the editor during certain editing operations, such as entering text using the visual edit line.

Availability

query command
set command
current parameter
default parameter
install parameter

Scope

maintainBidiMarks is scoped to the current document.
current.maintainBidiMarks is scoped to the current document.
default.maintainBidiMarks is globally scoped.
install.maintainBidiMarks is globally scoped.

Syntax

query maintainBidiMarks
set maintainBidiMarks [ default | on | off ]
query current.maintainBidiMarks
query default.maintainBidiMarks
set default.maintainBidiMarks [ install | on | off ]
query install.maintainBidiMarks 

Parameters

default If you specify the default parameter for the set maintainBidiMarks command, the current document will use the value of default.maintainBidiMarks.
on If you specify the on parameter for the set maintainBidiMarks command, the editor may add bidirectional marks to the text of the current document.  If you specify the on parameter for the set default.maintainBidiMarks command, the editor may add bidirectional marks to the text of all the documents that have maintainBidiMarks set to default.
off If you specify the off parameter for the set maintainBidiMarks command, bidirectional marks will not be added to the text of the current document.  If you specify the off parameter for the set default.maintainBidiMarks command, bidirectional marks will not be added to the text of all documents that have maintainBidiMarks set to default.
install If you specify the install parameter for the set default.maintainBidiMarks command, all of the documents that have maintainBidiMarks set to default will use the value of install.maintainBidiMarks.

Description

If you do not specify any of the parameters for the set maintainBidiMarks command, default is assumed.  If you do not specify any of the parameters for the set default.maintainBidiMarks command, install is assumed.

The query current.maintainBidiMarks command returns on if the editor may add bidirectional marks to the text of the current document or off if bidirectional marks will not be added to the text of the current document.

The maintainBidiMarks parameter is normally set by application editors that use LPEX, in conjunction with the level of bidirectional support available for the particular document, such as the upload capabilities to remote systems.  This parameter is only effective in documents with a bidirectional (Arabic or Hebrew) source encoding.

Bidirectional marks may be added to the document text as metadata in order to ensure the correct conversion to visual layouts, solving roundtrip conversion issues and preserving the logical structure of the document.

Examples

query maintainBidiMarks
set maintainBidiMarks on
query current.maintainBidiMarks
query default.maintainBidiMarks 

Related reference
query command
set command
current parameter
default parameter
install parameter
sourceEncoding parameter
visualEditLine action