Table of Contents

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
object
TextEditorFactory

Properties

Default

Creates the ITextEditor for new StructureEditor<T> instances. Defaults to PlainTextEditor.

public static Func<ITextEditor> Default { get; set; }

Property Value

Func<ITextEditor>

Remarks

Set this during application startup to use a more capable text editor (e.g., with syntax highlighting).