C2019-025_Ability-to-Toggle-Replace-Words-3 #503
@@ -61,37 +61,7 @@ namespace VEPROMS.CSLA.Library
 | 
			
		||||
			if (sc == null) return "N";
 | 
			
		||||
			return sc.Section_ShwRplWords;
 | 
			
		||||
		}
 | 
			
		||||
 | 
			
		||||
		// 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;
 | 
			
		||||
		//	}
 | 
			
		||||
		//}
 | 
			
		||||
		// C2019-025 c2025-010 Ability-to-Toggle-Replace-Words
 | 
			
		||||
		private bool ShwRplWdsIndex(ItemInfo _MyItemInfo)
 | 
			
		||||
		{
 | 
			
		||||
			StepConfig sc = _MyItemInfo.MyConfig as StepConfig;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user