Table of Contents

Class CodeEditorSettings

Namespace
Loehnert.Lisrt.Scripting.Editor.Controls
Assembly
Loehnert.Lisrt.Scripting.dll

Represents settings for CodeEditorOptions.

[SettingsSerializeAs(SettingsSerializeAs.Xml)]
public class CodeEditorSettings : INotifyPropertyChanged
Inheritance
CodeEditorSettings
Implements
Inherited Members

Properties

ShowLineBreaks

Gets or sets a value indicating whether the line breaks are visible.

public bool ShowLineBreaks { get; set; }

Property Value

bool

ShowLineNumbers

Gets or sets a value indicating whether the line numbers are visible.

public bool ShowLineNumbers { get; set; }

Property Value

bool

Methods

ApplyToCodeEditorOptions(CodeEditorOptions)

Applies the settings to options.

public void ApplyToCodeEditorOptions(CodeEditorOptions options)

Parameters

options CodeEditorOptions

Options to the settings are applied.

Exceptions

ArgumentNullException

Thrown when options is null.

Events

PropertyChanged

Occurs when a property value changes.

public event PropertyChangedEventHandler PropertyChanged

Event Type

PropertyChangedEventHandler