Debugger: Add whitespace/indentation to workspace xml files
This commit is contained in:
parent
118f1ccb94
commit
b77a59857c
1 changed files with 1 additions and 0 deletions
|
@ -74,6 +74,7 @@ namespace Mesen.GUI.Config
|
||||||
try {
|
try {
|
||||||
XmlWriterSettings ws = new XmlWriterSettings();
|
XmlWriterSettings ws = new XmlWriterSettings();
|
||||||
ws.NewLineHandling = NewLineHandling.Entitize;
|
ws.NewLineHandling = NewLineHandling.Entitize;
|
||||||
|
ws.Indent = true;
|
||||||
|
|
||||||
XmlSerializer xmlSerializer = new XmlSerializer(typeof(DebugWorkspace));
|
XmlSerializer xmlSerializer = new XmlSerializer(typeof(DebugWorkspace));
|
||||||
using(XmlWriter xmlWriter = XmlWriter.Create(_filePath, ws)) {
|
using(XmlWriter xmlWriter = XmlWriter.Create(_filePath, ws)) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue