예제 #1
0
 void Remove(ITextEditorUIContext uiContext)
 {
     if (uiContext == null)
     {
         return;
     }
     for (int i = stackFrameLines.Count - 1; i >= 0; i--)
     {
         if (stackFrameLines[i].TextView == uiContext)
         {
             textLineObjectManager.Remove(stackFrameLines[i]);
             stackFrameLines.RemoveAt(i);
         }
     }
 }
예제 #2
0
        public void Remove(Breakpoint bp)
        {
            var ilbp = bp as ILCodeBreakpoint;

            if (ilbp != null)
            {
                textLineObjectManager.Remove(ilbp);
                return;
            }

            var debp = bp as DebugEventBreakpoint;

            if (debp != null)
            {
                otherBreakpoints.Remove(debp);
                BreakPointAddedRemoved(debp, false);
                return;
            }
        }