logic to support transition to a non-numbered step
commented out test coding to save for now.
This commit is contained in:
@@ -991,6 +991,16 @@ namespace Volian.Controls.Library
|
||||
}
|
||||
// Can I build the text right now?
|
||||
trantxt = TransitionText.GetResolvedText(MyRTB.MyItemInfo, listBoxTranFmt.SelectedIndex,toItem,rangeItem ?? toItem);
|
||||
//if (MyRTB.NewTransToUnNumberedItem =(trantxt == string.Empty))
|
||||
//{
|
||||
// trantxt = toItem.Ordinal.ToString();
|
||||
// //using (Item itm = fromInfo.Get())
|
||||
// //{
|
||||
// // ItemAnnotation ia = itm.ItemAnnotations.Add(AnnotationType.GetByName("Verifcation Required"));
|
||||
// // ia.SearchText = "Transition to Un-Numbered Step";
|
||||
// // itm.Save();
|
||||
// //}
|
||||
//}
|
||||
int ss = MyRTB.SelectionStart;// Remember where the link is being added
|
||||
int sl = MyRTB.SelectionLength;
|
||||
MyRTB.OnReturnToEditor(this, new EventArgs());
|
||||
|
Reference in New Issue
Block a user