This commit is contained in:
@@ -64,11 +64,11 @@ namespace AyaNovaQBI
|
||||
foreach (ToolStripMenuItem t in tbManager.Items)
|
||||
{
|
||||
var menutag = t.Tag.ToString();
|
||||
System.Diagnostics.Debug.WriteLine($"editField_Enter examining menu item {menutag}");
|
||||
if (!menutag.StartsWith("Insert"))//skip the two permanently visible ones
|
||||
//System.Diagnostics.Debug.WriteLine($"editField_Enter examining menu item {menutag}");
|
||||
if (!menutag.StartsWith("Set"))//skip the two permanently visible ones
|
||||
{
|
||||
t.Visible = edittag == menutag;
|
||||
System.Diagnostics.Debug.WriteLine($"editField_Enter setting menu item {menutag} to visible= {t.Visible}");
|
||||
// System.Diagnostics.Debug.WriteLine($"editField_Enter setting menu item {menutag} to visible= {t.Visible}");
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -78,7 +78,7 @@ namespace AyaNovaQBI
|
||||
if (e.ClickedItem.Tag == null) return;//probably just a container menu item / not a special menu item
|
||||
|
||||
string tag = e.ClickedItem.Tag.ToString();
|
||||
System.Diagnostics.Debug.WriteLine($"you clicked on {tag}");
|
||||
// System.Diagnostics.Debug.WriteLine($"you clicked on {tag}");
|
||||
if (tag.StartsWith("~"))
|
||||
_CurrentTextEditor.Text = _CurrentTextEditor.Text.Insert(_CurrentTextEditor.SelectionStart, tag);
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user