[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Dotgnu-pnet-commits] CVS: pnetlib/System.Xml XmlTextWriter.cs, 1.19, 1
From: |
Gopal.V <address@hidden> |
Subject: |
[Dotgnu-pnet-commits] CVS: pnetlib/System.Xml XmlTextWriter.cs, 1.19, 1.20 |
Date: |
Thu, 24 Jul 2003 22:55:40 -0400 |
Update of /cvsroot/dotgnu-pnet/pnetlib/System.Xml
In directory subversions:/tmp/cvs-serv5335/System.Xml
Modified Files:
XmlTextWriter.cs
Log Message:
Generate newlines only in the Indented output mode
Index: XmlTextWriter.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/System.Xml/XmlTextWriter.cs,v
retrieving revision 1.19
retrieving revision 1.20
diff -C2 -r1.19 -r1.20
*** XmlTextWriter.cs 24 Jul 2003 19:04:28 -0000 1.19
--- XmlTextWriter.cs 25 Jul 2003 02:55:37 -0000 1.20
***************
*** 133,141 ****
private void DoIndent()
{
- writer.Write(Environment.NewLine);
if(xmlSpace != System.Xml.XmlSpace.Preserve &&
formatting == System.Xml.Formatting.Indented)
{
int indent = indentLevel;
while(indent > 0)
{
--- 133,141 ----
private void DoIndent()
{
if(xmlSpace != System.Xml.XmlSpace.Preserve &&
formatting == System.Xml.Formatting.Indented)
{
int indent = indentLevel;
+ writer.Write(Environment.NewLine);
while(indent > 0)
{
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Dotgnu-pnet-commits] CVS: pnetlib/System.Xml XmlTextWriter.cs, 1.19, 1.20,
Gopal.V <address@hidden> <=