Remove unused commented code
This commit is contained in:
parent
ce52e31138
commit
63f535a4d3
@ -19,10 +19,6 @@ namespace VEPROMS.CSLA.Library
|
||||
public void FixTransitionText(TransitionInfo tran)
|
||||
{
|
||||
string transText = tran.ResolvePathTo();
|
||||
//if (transText == string.Empty)
|
||||
//{
|
||||
// transText = tran.MyItemToID.Ordinal.ToString();
|
||||
//}
|
||||
string lookFor = string.Format(@"<START\](\\[^v \\]+)*\\v0(\\[^v \\]+)* ([^#]*?)(\\[^v'? \\]+)*\\v(\\[^v \\]+)* #Link:Transition[^:]*?:{0} {1}( [0-9]*){{1,2}}\[END>", tran.TranType, tran.TransitionID);
|
||||
//string lookFor = string.Format(@"<START\]\\v0 ([^#]*?)\\v #Link:Transition[^:]*?:{0} {1} [0-9]*\[END>", tran.TranType, tran.TransitionID);
|
||||
Match m = Regex.Match(Text, lookFor);
|
||||
|
@ -991,16 +991,6 @@ 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());
|
||||
|
Loading…
x
Reference in New Issue
Block a user