Changeset 31659 for lang/csharp/soyText/soyText/Form1.cs
- Timestamp:
- 03/29/09 17:18:45 (4 years ago)
- Files:
-
- 1 modified
-
lang/csharp/soyText/soyText/Form1.cs (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
lang/csharp/soyText/soyText/Form1.cs
r31654 r31659 9 9 using System.IO; 10 10 using System.Threading; 11 11 using System.Text.RegularExpressions; 12 12 13 13 … … 99 99 private void newDocument() 100 100 { 101 open(documentSet.createDocument()); 101 var d = documentSet.createDocument(); 102 if (command.Text != "") 103 { 104 var lines = Regex.Split(d.content, "\r*\n"); 105 d.content = lines[0] + "\r\ntag: " + command.Text + "\r\n" + "\r\n"; 106 } 107 open(d); 108 102 109 content.Focus(); 103 110 content.SelectionStart = content.TextLength; … … 120 127 if (e.KeyCode.Equals(Keys.Enter)) 121 128 { 122 //var s=documentSet.search(command.Text);123 129 refreshList(command.Text); 124 /* 125 var lim = 100; 126 foreach (Document d in s) 127 { 128 var i = docList.Items.Add("" + d.handle); 129 if (lim < 0) break; 130 lim--; 131 }*/ 130 132 131 } 133 132
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)