Class TextEditorFactory
- Namespace
- NanoByte.StructureEditor.EtoForms
- Assembly
- NanoByte.StructureEditor.EtoForms.dll
Controls which ITextEditor implementation is used by StructureEditor<T>.
public static class TextEditorFactory
- Inheritance
-
objectTextEditorFactory
Properties
Default
Creates the ITextEditor for new StructureEditor<T> instances. Defaults to PlainTextEditor.
public static Func<ITextEditor> Default { get; set; }
Property Value
Remarks
Set this during application startup to use a more capable text editor (e.g., with syntax highlighting).