public void WriteTo(XmlWriter x) { x.WriteStartElement("DefaultCompiler"); x.WriteString(DefaultCompiler); x.WriteEndElement(); foreach (var cmp in Compilers) { x.WriteStartElement("Compiler"); x.WriteAttributeString("Name", cmp.Vendor); cmp.SaveTo(x); x.WriteEndElement(); } x.WriteStartElement("ResCmp"); Win32ResourceCompiler.Instance.Save(x); x.WriteEndElement(); x.WriteStartElement("DDocBaseUrl"); x.WriteCData(D.Refactoring.DDocumentationLauncher.DigitalMarsUrl); x.WriteEndElement(); x.WriteStartElement("CompletionOptions"); CompletionOptions.Save(x); x.WriteEndElement(); }
public void Save(XmlWriter x) { x.WriteStartDocument(); x.WriteStartElement("dsettings"); x.WriteStartElement("cv2pdb"); x.WriteCData(cv2pdb_exe); x.WriteEndElement(); x.WriteStartElement("BracketHightlighting"); x.WriteAttributeString("value", EnableMatchingBracketHighlighting.ToString().ToLower()); x.WriteEndElement(); x.WriteStartElement("UseCodeCompletion"); x.WriteAttributeString("value", UseCodeCompletion.ToString().ToLower()); x.WriteEndElement(); x.WriteStartElement("UseMethodInsight"); x.WriteAttributeString("value", UseMethodInsight.ToString().ToLower()); x.WriteEndElement(); x.WriteStartElement("ForceCodeCompetionPopupCommit"); x.WriteAttributeString("value", ForceCodeCompetionPopupCommit.ToString().ToLower()); x.WriteEndElement(); x.WriteStartElement("UseSemanticErrorHighlighting"); x.WriteAttributeString("value", UseSemanticErrorHighlighting.ToString().ToLower()); x.WriteEndElement(); x.WriteStartElement("UseSemanticHighlighting"); x.WriteAttributeString("value", UseSemanticHighlighting.ToString().ToLower()); x.WriteEndElement(); x.WriteStartElement("SmartIndentation"); x.WriteAttributeString("value", EnableSmartIndentation.ToString().ToLower()); x.WriteEndElement(); x.WriteStartElement("CompletionOptions"); CompletionOptions.Save(x); x.WriteEndElement(); dmd1.Save(x); dmd2.Save(x); x.WriteEndElement(); }
public void WriteTo(XmlWriter x) { x.WriteStartElement("DefaultCompiler"); x.WriteString(DefaultCompiler); x.WriteEndElement(); foreach (var cmp in Compilers) { x.WriteStartElement("Compiler"); x.WriteAttributeString("Name", cmp.Vendor); cmp.SaveTo(x); x.WriteEndElement(); } x.WriteStartElement("ResCmp"); Win32ResourceCompiler.Instance.Save(x); x.WriteEndElement(); x.WriteStartElement("DDocBaseUrl"); x.WriteCData(D.Refactoring.DDocumentationLauncher.DigitalMarsUrl); x.WriteEndElement(); x.WriteStartElement("CompletionOptions"); CompletionOptions.Save(x); x.WriteEndElement(); x.WriteStartElement("DocumentOutline"); x.WriteAttributeString("ShowParameters", Outline.ShowFuncParams.ToString()); x.WriteAttributeString("ShowVariables", Outline.ShowFuncVariables.ToString()); x.WriteAttributeString("ShowTypes", Outline.ShowTypes.ToString()); x.WriteAttributeString("GrayOutNonPublic", Outline.GrayOutNonPublic.ToString()); x.WriteAttributeString("ExpandTree", Outline.ExpandAll.ToString()); x.WriteEndElement(); }