C2021-043: Set (folder) Information (SI) support for super/sub script of characters
This commit is contained in:
@@ -652,9 +652,22 @@ namespace Volian.Controls.Library
|
||||
MyFlexGrid.CopyOptionChanged += new VlnFlexGridEvent(MyFlexGrid_CopyOptionChanged);
|
||||
MyFlexGrid.SelChange+=new EventHandler(MyFlexGrid_SelChange);
|
||||
}
|
||||
// Add symbols into the tab ribbon based on format selection. For now, only add symbols once
|
||||
// because all symbols are same!!! If we start defining different symbols in different formats
|
||||
// this will have to change, i.e. remove the second part of 'if' statement.
|
||||
// C2021-043: have Proms specific context menu, i.e. with Hard space, styles and symbols rather than Windows clipboard
|
||||
// The frmSI dialog uses a StepRTB that ends up in this code to work with the symbol list. This occurs when the
|
||||
// MyItemInfo is null.
|
||||
if (MyItemInfo == null)
|
||||
{
|
||||
// get base symbol list & add.
|
||||
FormatInfo fmt = FormatInfo.Get(1);
|
||||
SymbolList sl = fmt.PlantFormat.FormatData.SymbolList;
|
||||
if (sl == null || sl.Count <= 0)
|
||||
{
|
||||
FlexibleMessageBox.Show("No symbols are available, check with administrator");
|
||||
return;
|
||||
}
|
||||
BuildSymbolGallery(sl, galleryContainerSymbolsCM, galleryContainerSymbolsCM3, galleryContainerSymbolsGrid, galleryContainerSymbolsCM4);
|
||||
return;
|
||||
}
|
||||
if (MyItemInfo.ActiveFormat.FormatID != _MyLastFormatID && _MyLastFormatID == -1)
|
||||
{
|
||||
// Add symbols to the tabribbon & also to the context menu getting info from the format file...
|
||||
|
Reference in New Issue
Block a user