This commit is contained in:
@@ -129,7 +129,7 @@ namespace Volian.Controls.Library
|
||||
#region Constructors
|
||||
/// <summary>
|
||||
/// vlnRichTextBox constructor:
|
||||
/// Creates a RichTextBox with extra support for veproms editing/printing.
|
||||
/// Creates a MyDisplayRTB with extra support for veproms editing/printing.
|
||||
/// Arguments are:
|
||||
/// string txtbxname - name to give box (is this needed)
|
||||
/// ItemInfo itm - Item for which box is created
|
||||
@@ -606,11 +606,11 @@ namespace Volian.Controls.Library
|
||||
else if (e.ClickedItem.ToString() == "TitleCase")
|
||||
SetSelectedCase('T');
|
||||
else if (e.ClickedItem.ToString() == "Insert RO")
|
||||
InsertRO("kbr ro", "0000000000000");
|
||||
MessageBox.Show("Not supported from context menu yet");
|
||||
else if (e.ClickedItem.ToString() == "Insert Transition")
|
||||
InsertTran("kbr Tran", "5 3 5");
|
||||
MessageBox.Show("Not supported from context menu yet");
|
||||
else if (e.ClickedItem.ToString() == "Insert Symbol")
|
||||
InsertSymbol(@"\u916?"); // hardcode for now, but should get value from dialog
|
||||
MessageBox.Show("Not supported from context menu yet");
|
||||
else if (e.ClickedItem.ToString() == "Toggle View/Edit")
|
||||
ToggleViewEdit();
|
||||
//else if (e.ClickedItem.ToString() == "Find text") findit();
|
||||
@@ -620,7 +620,7 @@ namespace Volian.Controls.Library
|
||||
MessageBox.Show(ex.Message);
|
||||
}
|
||||
}
|
||||
private void SetSelectedCase(char type)
|
||||
public void SetSelectedCase(char type)
|
||||
{
|
||||
switch (type)
|
||||
{
|
||||
|
Reference in New Issue
Block a user