C2021-056 Added FirstWord flag to ReplaceWords

C2021-056 Added logic to support the FirstWord flag in ReplaceWords.  When set, the word will be replaced only if it the first word in the text.
This commit is contained in:
2021-10-27 17:44:14 +00:00
parent 2e8e01e8ab
commit 8755e9f0ad
3 changed files with 15 additions and 6 deletions

View File

@@ -303,7 +303,8 @@ namespace VEPROMS.CSLA.Library
InSecTitle = 0x40000,
BeforeTrans = 0x80000, // Only do replace if the string occurs immediately before a transition.
BeforeList = 0x100000, // C2021-045 Only if the text ends with a colon ":"
PageList = 0x200000 // F2021-053 Do replace words for PageList items that are ROs
PageList = 0x200000, // F2021-053 Do replace words for PageList items that are ROs
FirstWord = 0x400000 // C2021-056 Do only if is the first word in the text
}
[Serializable]
[TypeConverter(typeof(ExpandableObjectConverter))]