defaultProfile parameter

Use the defaultProfile parameter to specify the name of a Java properties file used to specify the default settings for the editor.  This parameter is intended to be used by application writers who wish to alter the default setting for one or more of the editor parameters, or who wish to specify where this file should be located.  Changing the default setting of a parameter, using the set command with the default parameter, will store the new default editor setting in the file specified by the defaultProfile parameter.

 

Availability

query command
set command

 

Scope

Global.

 

Syntax

query defaultProfile
set defaultProfile [name] 

 

Parameters

name Use the name parameter to specify the name of the properties file that will contain the editor's default settings.  It is recommended that name be the full path name of the file.

 

Description

If you do not specify a file, then the editor will use Profile.properties and locate it in the editor's default settings directory.

If you wish to provide your own file for editor default settings, you should set the defaultProfile parameter before creating any document views.

Setting the defaultProfile parameter will cause all default settings to be reset to the values specified in the new default profile.

Any of the editor parameters that are available with the default parameter can have default settings specified in the default profile.

Use the qualified default parameter as the key, and the desired setting as the corresponding value.  For example:

default.block.defaultType=stream
default.commandLine=on
default.expandHide=on
default.expandTabs=on
default.findText.asis=off
default.findText.block=off
default.findText.columns=off
default.findText.emphasis=on
default.findText.endColumn=100
default.findText.mark=off
default.findText.regularExpression=off
default.findText.startColumn=1
default.findText.wrap=on
default.messageLine=on
default.prefixArea=off
default.print.bottomMargin=25
default.print.font=screen
default.print.leftMargin=10
default.print.rightMargin=10
default.print.tokenized=off
default.print.topMargin=25
default.save.trim=on
default.statusLine=on
default.tabs=1 every 8
default.updateProfile.baseProfile=lpex
default.updateProfile.parser=associated

 

Examples

query defaultProfile
set defaultProfile c:/ibm/editor/Test.properties
set defaultProfile 

Related reference
query command
set command
current parameter
default parameter
install parameter
block.defaultType parameter
installProfile parameter
Editor parameters