From 101ed18e36c7248e72be8129c31056a6335de41a Mon Sep 17 00:00:00 2001 From: Michael Becker Date: Mon, 16 Dec 2019 00:39:04 -0500 Subject: [PATCH] made these public so they're accessible through Views --- CSharp/Libraries/UniversalEditor.UserInterface/Editor.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/CSharp/Libraries/UniversalEditor.UserInterface/Editor.cs b/CSharp/Libraries/UniversalEditor.UserInterface/Editor.cs index 56e50586..ae53f808 100644 --- a/CSharp/Libraries/UniversalEditor.UserInterface/Editor.cs +++ b/CSharp/Libraries/UniversalEditor.UserInterface/Editor.cs @@ -399,7 +399,7 @@ namespace UniversalEditor.UserInterface mvarUpdating--; } - protected void BeginEdit() + public void BeginEdit() { if (mvarUpdating > 0) return; @@ -424,7 +424,7 @@ namespace UniversalEditor.UserInterface // clear out all the redos redo.Clear(); } - protected void BeginEdit(string PropertyName, object Value = null, object ParentObject = null, Control editingControl = null) + public void BeginEdit(string PropertyName, object Value = null, object ParentObject = null, Control editingControl = null) { if (mvarEditing > 0) { @@ -458,7 +458,7 @@ namespace UniversalEditor.UserInterface // clear out all the redos redo.Clear(); } - protected void EndEdit() + public void EndEdit() { if (mvarUpdating > 0) return;