public void CountCode(string codeInfoLines)
 {
     Task.Factory.StartNew(() =>
     {
         var info = _assemblerService.CountCode(codeInfoLines);
         _statusBarService.SetCodeCountInfo(info);
     });
 }
Beispiel #2
0
        private void DockingServiceActiveDocumentChanged(object sender, EventArgs eventArgs)
        {
            if (Disposing || IsDisposed)
            {
                return;
            }

            if (_dockingService.ActiveDocument == null)
            {
                _statusBarService.SetCaretPosition(-1, -1);
                _statusBarService.SetCodeCountInfo(null);
            }

            UpdateTitle(_debuggerService.CurrentDebugger != null);
        }