Creating your own Text Editor with AvalonEdit