From 380d9786cc9039d08475be28c569b4a4a3148b9c Mon Sep 17 00:00:00 2001 From: Mark van Renswoude Date: Wed, 5 Jan 2022 19:01:30 +0100 Subject: [PATCH] Additional comment on AvalonEdit --- PettingZoo/UI/Tab/Publisher/PayloadEditorControl.xaml.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/PettingZoo/UI/Tab/Publisher/PayloadEditorControl.xaml.cs b/PettingZoo/UI/Tab/Publisher/PayloadEditorControl.xaml.cs index a4ec3e4..6ebdd89 100644 --- a/PettingZoo/UI/Tab/Publisher/PayloadEditorControl.xaml.cs +++ b/PettingZoo/UI/Tab/Publisher/PayloadEditorControl.xaml.cs @@ -154,6 +154,8 @@ namespace PettingZoo.UI.Tab.Publisher // Avalon doesn't play nice with bindings it seems: // https://stackoverflow.com/questions/18964176/two-way-binding-to-avalonedit-document-text-using-mvvm + // ...this is intended though, and well explained here: + // https://github.com/icsharpcode/AvalonEdit/issues/84 Editor.Document.Text = Payload;