/[RomCheater]/trunk/RomCheater.Logging/LogWriter.cs
ViewVC logotype

Diff of /trunk/RomCheater.Logging/LogWriter.cs

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 317 by william, Tue Jun 5 15:35:51 2012 UTC revision 318 by william, Tue Jun 5 17:57:37 2012 UTC
# Line 73  namespace RomCheater.Logging Line 73  namespace RomCheater.Logging
73          }          }
74    
75          private void btnClearLog_Click(object sender, EventArgs e) { this.Clear(true); }          private void btnClearLog_Click(object sender, EventArgs e) { this.Clear(true); }
76          private void btnCopyLogToClipboard_Click(object sender, EventArgs e) { Clipboard.SetText(txtLog.Text); }          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)          public void WriteLogToFile(string value)
# Line 96  namespace RomCheater.Logging Line 96  namespace RomCheater.Logging
96              }              }
97              else              else
98              {              {
99                  txtLog.Text += value;                  txtLog.AppendText(value);
100                  if (AutoScroll)                  if (AutoScroll)
101                  {                  {
102                      txtLog.SelectionStart = txtLog.TextLength;                      txtLog.SelectionStart = txtLog.TextLength;

Legend:
Removed from v.317  
changed lines
  Added in v.318

  ViewVC Help
Powered by ViewVC 1.1.22