This repository has been archived on 2026-05-22. You can view files and clone it, but cannot push or open issues or pull requests.
Files
Befunge.Net/Befunge/Editor/Controls/CodeTextBox.cs
2016-10-13 19:52:31 -04:00

26 lines
828 B
C#

using System.ComponentModel;
using System.Windows;
using System.Windows.Controls;
using Befunge.Editor.CharStyles;
namespace Befunge.Editor.Controls
{
public class CodeTextBox : RichTextBox
{
public static readonly DependencyProperty TextProperty = DependencyProperty.Register(
nameof(Text), typeof(string), typeof(CodeTextBox), new PropertyMetadata(default(string), OnTextPropertyChanged));
private static void OnTextPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
{
throw new System.NotImplementedException();
}
public string Text
{
get { return (string) GetValue(TextProperty); }
set { SetValue(TextProperty, value); }
}
public ICharStyler TextStyler { get; set; }
}
}