B2019-138 Word section fails during RO Replacement

Calvert Cliffs/Working Draft Procedures/OI Procedures - Unit 1 - OI-43C.SATTACHMENT 1
This commit is contained in:
Rich 2019-09-16 13:58:46 +00:00
parent 01d696cb29
commit 9dfcfba521

View File

@ -1724,7 +1724,9 @@ namespace VEPROMS.CSLA.Library
return null; return null;
// B2019-123 Word 2019 returns true when find string was not found // B2019-123 Word 2019 returns true when find string was not found
// This line checks to make sure an RO was found. // This line checks to make sure an RO was found.
if (!_ROAccPageTokenPattern.IsMatch(sel.Text)) // B2019-138 Word section fails during RO Replacement
// Calvert Cliffs/Working Draft Procedures/OI Procedures - Unit 1 - OI-43C.SATTACHMENT 1
if (sel.End != 0 && !_ROAccPageTokenPattern.IsMatch(sel.Text))
return null; return null;
// MS Word found 'invalid' ro when text had "[335.0<T<335.6:C]" (not sure what problem was). // MS Word found 'invalid' ro when text had "[335.0<T<335.6:C]" (not sure what problem was).
// When this occurred, the selection was found, but it's end = 0, so move 1 char past it. // When this occurred, the selection was found, but it's end = 0, so move 1 char past it.