Remove Unnecessary debug message
Fixed logic to find external transition when attempting to delete a procedure Turn-on Table Shrinking Generically
This commit is contained in:
@@ -379,8 +379,8 @@ namespace Volian.Controls.Library
|
||||
{
|
||||
if (rs.ReplaceWord.Contains("{RO}"))
|
||||
{
|
||||
if (_MyItemInfo.InList(34770,34771,34782,34882,34886,34916,34891,35121,36361))
|
||||
Console.WriteLine("FixDiffUnitROReplaceWords jcb");
|
||||
//if (_MyItemInfo.InList(34770,34771,34782,34882,34886,34916,34891,35121,36361))
|
||||
// Console.WriteLine("FixDiffUnitROReplaceWords jcb");
|
||||
string oldvalue = text;
|
||||
string replaceWord = rs.ReplaceWord;
|
||||
string replaceWord2 = Regex.Replace( replaceWord,@"(\{RO\})([0-9,]+)(\{RO\})",@"\\v <START]\\v0 ($2)\\v");
|
||||
@@ -2101,7 +2101,7 @@ namespace Volian.Controls.Library
|
||||
}
|
||||
string preceedingText = text.Substring(0, offset + foundMatch.MyMatch.Index);
|
||||
int ndxBold = preceedingText.LastIndexOf(@"\b");
|
||||
if (ndxBold > -1 && preceedingText.Length>(ndxBold+2) && preceedingText[ndxBold + 2] != '0' && with.Contains(@"\b "))
|
||||
if (ndxBold > -1 && preceedingText.Length>( ndxBold + 2) && preceedingText[ndxBold + 2] != '0' && with.Contains(@"\b "))
|
||||
{
|
||||
with = with.Replace(@"\b ","");
|
||||
with = with.Replace(@"\b0 ","");
|
||||
|
@@ -482,7 +482,7 @@ namespace Volian.Controls.Library
|
||||
// this line of code was moved before the find for the indent so that
|
||||
// the window gets resized if the indent changes the height, i.e. more line(s) in window.
|
||||
AddEventHandlers();
|
||||
if (MyItemInfo.InList(186722)) Console.WriteLine("here");
|
||||
//if (MyItemInfo.InList(186722)) Console.WriteLine("here");
|
||||
if ((indchar = Find(indentToken, indchar, RichTextBoxFinds.None)) >= 0)
|
||||
{
|
||||
int nindents = 0;
|
||||
|
@@ -2266,7 +2266,7 @@ namespace Volian.Controls.Library
|
||||
{
|
||||
if (ex.Message.Contains("has External Transitions and has no next step"))
|
||||
{
|
||||
using (TransitionInfoList exTrans = TransitionInfoList.GetExternalTransitions(ii.ItemID))
|
||||
using (TransitionInfoList exTrans = TransitionInfoList.GetExternalTransitionsToChildren(ii.ItemID))
|
||||
{
|
||||
DialogResult ans = MessageBox.Show("Transitions exist to this step and cannot be adjusted automatically." +
|
||||
"\r\n\r\nDo you want to be placed on the " + (exTrans.Count > 1 ? "first " : "") + "substep with the problem Transition?" +
|
||||
|
Reference in New Issue
Block a user