Class CodeEditorFactory
java.lang.Object
com.inductiveautomation.ignition.designer.scripteditor.component.CodeEditorFactory
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic classPython code editor capable of compiling its text after keystrokes have stopped for one second.
- 
Method SummaryModifier and TypeMethodDescriptionDeprecated.static com.jidesoft.editor.CodeEditorDeprecated.static com.jidesoft.editor.CodeEditornewExpressionLanguageEditor(FunctionFactory functionFactory) static com.jidesoft.editor.CodeEditorDeprecated.PreferPythonTextAreafor a newer implementation with less issues with font size/scaling and other editing niceties.static com.jidesoft.editor.CodeEditorstatic com.jidesoft.editor.CodeEditor
- 
Method Details- 
newPythonEditorDeprecated.PreferPythonTextAreafor a newer implementation with less issues with font size/scaling and other editing niceties.Creates a new CodeEditor that is set up for Python editing. This code editor will also underline the 1st syntax error, if there is one. You may also get a gutter out of this code editor and place it to the right of the code editor if you wish, for example:CodeEditor editor CodeEditorFactory.newPythonEditor(); MarkerStripe stripe = editor.getMarkerArea().getMarkerStripe(); stripe.setPreferredSize(new Dimension(10, 100)); JPanel panel = new JPanel(new BorderLayout()); panel.add(editor, BorderLayout.CENTER); panel.add(stripe, BorderLayout.EAST); 
- 
newXMLEditorpublic static com.jidesoft.editor.CodeEditor newXMLEditor()
- 
newAutoCompilePythonEditor@Deprecated(since="8.1.18") public static CodeEditorFactory.AutoCompileCodeEditor newAutoCompilePythonEditor()Deprecated.PreferPythonTextAreafor a newer implementation with less issues with font size/scaling and other editing niceties.
- 
newSQLEditorpublic static com.jidesoft.editor.CodeEditor newSQLEditor()
- 
newExpressionLanguageEditorDeprecated.Deprecated as of 7.6. The other version of a function should be called, with a function factory provided by the scope context.
- 
newExpressionLanguageEditorpublic static com.jidesoft.editor.CodeEditor newExpressionLanguageEditor(FunctionFactory functionFactory) 
 
- 
PythonTextAreafor a newer implementation with less issues with font size/scaling and other editing niceties.