From e592df4403c139193e001238f52dfbf19f1cba7f Mon Sep 17 00:00:00 2001 From: John Date: Tue, 25 Oct 2016 18:45:28 +0000 Subject: [PATCH] Added Step_SpellCheckerChangedText config variable for editorial spell checker --- .../VEPROMS.CSLA.Library/Config/StepConfig.cs | 24 +++++++++++++++++++ 1 file changed, 24 insertions(+) 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.