Remove unused commented code

This commit is contained in:
Rich 2012-11-15 17:25:08 +00:00
parent ce52e31138
commit 63f535a4d3
2 changed files with 0 additions and 14 deletions

View File

@ -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);

View File

@ -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());