ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/RomCheater/trunk/RomCheater.Logging/LogWriter.cs
(Generate patch)

Comparing trunk/RomCheater.Logging/LogWriter.cs (file contents):
Revision 317 by william, Tue Jun 5 15:35:51 2012 UTC vs.
Revision 318 by william, Tue Jun 5 17:57:37 2012 UTC

# Line 73 | Line 73 | namespace RomCheater.Logging
73          }
74  
75          private void btnClearLog_Click(object sender, EventArgs e) { this.Clear(true); }
76 <        private void btnCopyLogToClipboard_Click(object sender, EventArgs e) { Clipboard.SetText(txtLog.Text); }
76 >        private void btnCopyLogToClipboard_Click(object sender, EventArgs e) { Clipboard.SetText(txtLog.Text.Replace(Log.NewLine,System.Environment.NewLine)); }
77  
78  
79          public void WriteLogToFile(string value)
# Line 96 | Line 96 | namespace RomCheater.Logging
96              }
97              else
98              {
99 <                txtLog.Text += value;
99 >                txtLog.AppendText(value);
100                  if (AutoScroll)
101                  {
102                      txtLog.SelectionStart = txtLog.TextLength;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines