Added logic to create annotations for transitions to un-numbered steps
This commit is contained in:
parent
45fc9edcd3
commit
ce52e31138
@ -475,12 +475,13 @@ namespace Volian.Controls.Library
|
||||
//FormatInfo formatInfo = _MyItemInfo.ActiveFormat;
|
||||
using (_MyItem = _MyItemInfo.Get())
|
||||
{
|
||||
if (_MyItemInfo.NewTransToUnNumberedItem)
|
||||
{
|
||||
ItemAnnotation ia = _MyItem.ItemAnnotations.Add(AnnotationType.GetByName("Verification Required"));
|
||||
ia.SearchText = "Transition to Un-Numbered Step";
|
||||
_MyItemInfo.NewTransToUnNumberedItem = false;
|
||||
}
|
||||
// The following was added to support transitions to un-numbered steps
|
||||
if (_MyItemInfo.NewTransToUnNumberedItem && rtb.Text.Contains("<NewID>"))
|
||||
{
|
||||
ItemAnnotation ia = _MyItem.ItemAnnotations.Add(AnnotationType.GetByName("Verification Required"));
|
||||
ia.SearchText = "Transition to Un-Numbered Step";
|
||||
_MyItemInfo.NewTransToUnNumberedItem = false;
|
||||
}
|
||||
// check for different text, i.e. text from this itm doesn't match
|
||||
// original text, a change occurred in database, but not from this user.
|
||||
if (OriginalText != EditText)
|
||||
|
Loading…
x
Reference in New Issue
Block a user