diff --git a/PROMS/VEPROMS.CSLA.Library/Config/StepConfig.cs b/PROMS/VEPROMS.CSLA.Library/Config/StepConfig.cs index 61728587..92a43734 100644 --- a/PROMS/VEPROMS.CSLA.Library/Config/StepConfig.cs +++ b/PROMS/VEPROMS.CSLA.Library/Config/StepConfig.cs @@ -358,6 +358,30 @@ namespace VEPROMS.CSLA.Library OnPropertyChanged("Step_Responsibility"); } } + //[Category("Step Attributes")] + //[DisplayName("Step Change By Spell Checker")] + //[RefreshProperties(RefreshProperties.All)] + //[Description("Step Change By Spell Checker")] + // When the spell checker changes text do not assign a change bar but keep existing change bar if it is there + public string Step_SpellCheckerChangedText + { + get + { + string s = _Xp["Step", "SpellCheckerChangedText"]; + + if (s == string.Empty) return null; + return s; + } + set + { + string s = _Xp["Step", "SpellCheckerChangedText"]; + + if (value != null && value.ToString() == s) return; + if (value == null && s != null) _Xp["Step", "SpellCheckerChangedText"] = null; + else _Xp["Step", "SpellCheckerChangedText"] = value.ToString(); + OnPropertyChanged("SpellCheckerChangedText"); + } + } #region RO image sizing // if the RO image (figure) is resized, save it in the step config, not in the ROImageConfig. If stored in ROImageConfig // the size is set for ALL uses.