Initial Commit

This commit is contained in:
David
2016-10-13 19:52:31 -04:00
parent cdd3c70abb
commit 071b63f01d
21 changed files with 1726 additions and 0 deletions

View File

@@ -0,0 +1,26 @@
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; }
}
}