C2019-025_Ability-to-Toggle-Replace-Words-3

This commit is contained in:
Paul Larsen 2025-01-30 09:22:51 -05:00
parent 90e25f3fcf
commit b7aa85f4fc

View File

@ -61,37 +61,7 @@ namespace VEPROMS.CSLA.Library
if (sc == null) return "N"; if (sc == null) return "N";
return sc.Section_ShwRplWords; return sc.Section_ShwRplWords;
} }
// C2019-025 c2025-010 Ability-to-Toggle-Replace-Words
// C2029-025 Show or hide replace words. Can highlight replace words in editor.
//private bool ShwRplWdsIndex(ItemInfo _MyItemInfo)
//{
// StepConfig sc = _MyItemInfo.MyConfig as StepConfig;
// int setting = sc.Step_ShwRplWdsIndex;
// switch (setting)
// {
// case 2:
// return false;
// break;
// case 1:
// return true;
// break;
// case 0:
// //SectionConfig sc2 = _MyItemInfo.ActiveParent.MyConfig as SectionConfig;
// SectionConfig sc2 = _MyItemInfo.ActiveSection.MyConfig as SectionConfig;
// if (sc2 == null || sc2.Section_ShwRplWords == "Y")
// {
// return true;
// }
// else
// {
// return false;
// }
// break;
// default:
// return false;
// break;
// }
//}
private bool ShwRplWdsIndex(ItemInfo _MyItemInfo) private bool ShwRplWdsIndex(ItemInfo _MyItemInfo)
{ {
StepConfig sc = _MyItemInfo.MyConfig as StepConfig; StepConfig sc = _MyItemInfo.MyConfig as StepConfig;