bdeLaunchOmlEditor

Launches an oml text editor in the ui.

Syntax

omlEditor = bdeLaunchOmlEditor(text, isFileOpen)

Inputs

text (Optional)
This text is added to the text editor when it is created. Default is an empty string.
Type: string
isFileOpen (Optional)
If false then it uses the argument text as a new oml script and shows that text in the editor. If the argument is true then it assumes that the first argument text is a oml file path on disk and opens that file in the oml editor.
Type: Boolean

Outputs

omlEditor
The oml editor that was launched.
Type: hwscpTextEditorDialog

Examples

Launch an oml text editor:

          omlEditor = bdeLaunchOmlEditor("Hello World", false);
        

          
            omlEditor = hwscpTextEditorDialog