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, by using the set command with the default parameter, will store the new default editor setting in the file specified by the defaultProfile parameter.
query command
set command
Global.
query defaultProfile set defaultProfile [name]
name | Use the name parameter to specify the name of the file that will contain the editor's default settings. It is recommended that name be the full path name of the file. |
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.
Certain editor applications may employ a custom scheme for storing their user preferences, including the default settings for the LPEX editor. In such applications, the defaultProfile parameter may not be in use.
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.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
query defaultProfile set defaultProfile C:\ibm\editor\Test.properties set defaultProfile
query command
set command
profile command
default parameter
installProfile parameter
Editor parameters
Copyright IBM Corporation 1992, 2007. All Rights Reserved.