private void ProjectServiceFileAdded(object sender, SledProjectServiceFileEventArgs e) { var sd = e.File.SledDocument; // If no open document then do nothing if (sd == null) return; // Add breakpoints from the open document to the GUI AddBreakpoints(sd, sd.Editor.GetBreakpoints()); }
private void ProjectServiceFileOpened(object sender, SledProjectServiceFileEventArgs e) { // Silently add breakpoints from the project to // the newly opened document AddBreakpoints(e.File); }
private void ProjectService_FileRemoved(object sender, SledProjectServiceFileEventArgs e) { SledOutDevice.OutLine(SledMessageType.Info, "ISledProjectService.FileRemoved"); }
private void ProjectServiceFileRemoving(object sender, SledProjectServiceFileEventArgs e) { EnsureCheckedOutOnEdit(e.File.Project); }
private void ProjectServiceFileOpened(object sender, SledProjectServiceFileEventArgs e) { OpenProjectFile(e.File); }
private void ProjectServiceFileClosing(object sender, SledProjectServiceFileEventArgs e) { CloseProjectFile(e.File); }
private void ProjectServiceFileRemoving(object sender, SledProjectServiceFileEventArgs e) { if (m_dictFunctions.Count <= 0) return; if (!m_dictFunctions.ContainsKey(e.File)) return; m_dictFunctions.Remove(e.File); }
private void ProjectServiceFileRenamed(object sender, SledProjectServiceFileEventArgs e) { m_dictProjFiles.Remove(e.OldPath); m_dictProjFiles.Add(e.File.AbsolutePath, e.File); }
private void ProjectServiceFileRemoved(object sender, SledProjectServiceFileEventArgs e) { m_batchQueue.Remove(e.File.Guid); }
private void ProjectServiceFileOpened(object sender, SledProjectServiceFileEventArgs e) { RegisterDocument(e.File.SledDocument); }
private void ProjectServiceFileAdded(object sender, SledProjectServiceFileEventArgs e) { if (!Enabled) return; AddToBatchQueue(new[] { e.File }); }
private void ProjectServiceFileRemoving(object sender, SledProjectServiceFileEventArgs e) { m_parsedResults.Remove(e.File); m_validBreakpoints.Remove(e.File); }
private void ProjectServiceFileRemoving(object sender, SledProjectServiceFileEventArgs e) { m_dictProjFiles.Remove(e.File.AbsolutePath); }
private void ProjectServiceFileRemoving(object sender, SledProjectServiceFileEventArgs e) { // Keep breakpoints in the open document (if its open) m_bPreserveOpenDocumentBreakpoints = true; // Remove breakpoints in the file from the project // but leave the open document (if any) alone RemoveBreakpoints(e.File); m_bPreserveOpenDocumentBreakpoints = false; }
private void ProjectServiceFileAdded(object sender, SledProjectServiceFileEventArgs e) { SetupCompileAttribute(e.File); }
private void ProjectServiceFileAdded(object sender, SledProjectServiceFileEventArgs e) { if (!m_debugService.IsDebugging) return; var sd = e.File.SledDocument; if (sd == null) return; ((SledDocument)sd).IsReadOnly = true; }
private void ProjectServiceFileAdded(object sender, SledProjectServiceFileEventArgs e) { m_dictProjFiles.Add(e.File.AbsolutePath, e.File); }