Browse CVS Repository
Diff of /malonnote/mnNotePanel.cpp
Parent Directory
| Revision Log
| Revision Graph
| Patch
| 171 |
|
|
| 172 |
/* -XXXX */ |
/* -XXXX */ |
| 173 |
wxRegEx exp16(wxT("^-(.*)"), wxRE_NEWLINE|wxRE_DEFAULT); |
wxRegEx exp16(wxT("^-(.*)"), wxRE_NEWLINE|wxRE_DEFAULT); |
| 174 |
|
#ifdef __WXMAC__ |
| 175 |
exp16.Replace(&htmlText, wxT("<li>\\1</li>")); |
exp16.Replace(&htmlText, wxT("<li>\\1</li>")); |
| 176 |
|
#else |
| 177 |
|
exp16.Replace(&htmlText, wxT("<ul><li>\\1</li></ul>")); |
| 178 |
|
#endif |
| 179 |
|
|
| 180 |
|
|
| 181 |
/* {{ }} */ |
/* {{ }} */ |
| 185 |
/* table */ |
/* table */ |
| 186 |
wxRegEx exp10(wxT("^,([^,]+)"), wxRE_NEWLINE|wxRE_DEFAULT); |
wxRegEx exp10(wxT("^,([^,]+)"), wxRE_NEWLINE|wxRE_DEFAULT); |
| 187 |
exp10.Replace(&htmlText, wxT("<td> \\1 </td>")); |
exp10.Replace(&htmlText, wxT("<td> \\1 </td>")); |
| 188 |
for(int i = 0; i < 10; i++){ // It's not good. :P |
for(int i = 0; i < 64; i++){ // It's not good. :P |
| 189 |
wxRegEx exp16(wxT("</td>,([^,\n]+)"), wxRE_DEFAULT); |
wxRegEx exp16(wxT("</td>,([^,\n]+)"), wxRE_DEFAULT); |
| 190 |
exp16.Replace(&htmlText, wxT("</td><td>\\1</td>")); |
exp16.Replace(&htmlText, wxT("</td><td>\\1</td>")); |
| 191 |
} |
} |
|
|
Legend:
| Removed from v.1.14 |
|
| changed lines |
| |
Added in v.1.15 |
|
|
| |