int[] prop2 = new int[LENGTH], end2 = new int[LENGTH];
MSymbol[] value2 = new MSymbol[LENGTH];
- DebugDump (0);
// sensitivity for deletion
if (from > 0 && prop[from - 1] == prop[from] && prop[from] != -1)
{
prop[i] = -1;
}
- DebugDump (1);
// copy
for (i = from; i < to; i++)
{
prop2[i - from] = -1;
}
- DebugDump (2);
// delete
for (i = to; i < LENGTH; i++)
{
}
prop[LENGTH - l] = -1;
- DebugDump (3);
// sensitivity for insertion
if (from2 > 0 && prop[from2 - 1] == prop[from2] && prop[from2] != -1)
{
prop[i] = -1;
}
- DebugDump (4);
// move
for (i = LENGTH - 1; i >= from2 + l; i--)
{
prop[i] = -1;
}
- DebugDump (5);
// insert
for (i = from2; i < from2 + l; i++)
{
else
prop[i] = -1;
}
- DebugDump (6);
MText mt2 = mt.Dup ();
mt.Del (from, to);
Console.Write ("\n");
}
+ /*
static void DebugDump (int n)
{
- /*
int i;
Console.Write ("\n#{0}\n ", n);
Console.Write (" ");
}
Console.Write ("\n");
- */
}
+ */
public static void Main (string[] args)
{