return true;
}
-
public void Pop (int start, int end)
{
update_from_to ();
bool check_prev = start == From && start > 0;
bool check_next = end == To && end < mtext.Length;
- if (! check_prev)
+ if (! check_prev && start < From)
divide_left (start);
- if (! check_next)
+ if (! check_next && end > To)
divide_right (end);
Stack.Pop ();
if (check_prev && Left != null)