Develop and Download Open Source Software

Browse CVS Repository

Diff of /malonnote/mnNotePanel.cpp

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

revision 1.13 by maloninc, Mon Jan 30 00:48:55 2006 UTC revision 1.14 by maloninc, Thu Oct 19 08:55:19 2006 UTC
# Line 160  void mnNotePanel::makeHtml(WikiData* wik Line 160  void mnNotePanel::makeHtml(WikiData* wik
160  #else  #else
161          exp4.Replace(&htmlText, wxT("<TABLE WIDTH=\"100%\" CELLPADDING=5 CELLSPACING=2 BORDER=1><TR><TD BGCOLOR=\"#CCFFFF\"><FONT SIZE=5><B>\\1</B></FONT></TD></TR></TABLE><BR>"));          exp4.Replace(&htmlText, wxT("<TABLE WIDTH=\"100%\" CELLPADDING=5 CELLSPACING=2 BORDER=1><TR><TD BGCOLOR=\"#CCFFFF\"><FONT SIZE=5><B>\\1</B></FONT></TD></TR></TABLE><BR>"));
162  #endif  #endif
163            
164          /* :''XXXX'': */          /* :''XXXX'': */
165          wxRegEx exp6(wxT("^:''(.+)'':(.+)"), wxRE_NEWLINE|wxRE_DEFAULT);          wxRegEx exp6(wxT("^:''(.+)'':(.+)"), wxRE_NEWLINE|wxRE_DEFAULT);
166          exp6.Replace(&htmlText, wxT("<u><b>\\1:\\2</b></u>"));          exp6.Replace(&htmlText, wxT("<u><b>\\1:\\2</b></u>"));
# Line 168  void mnNotePanel::makeHtml(WikiData* wik Line 168  void mnNotePanel::makeHtml(WikiData* wik
168          /* ---- */          /* ---- */
169          wxRegEx exp7(wxT("^----.*"), wxRE_NEWLINE|wxRE_DEFAULT);          wxRegEx exp7(wxT("^----.*"), wxRE_NEWLINE|wxRE_DEFAULT);
170          exp7.Replace(&htmlText, wxT("<hr>"));          exp7.Replace(&htmlText, wxT("<hr>"));
171            
172            /* -XXXX */
173            wxRegEx exp16(wxT("^-(.*)"), wxRE_NEWLINE|wxRE_DEFAULT);
174            exp16.Replace(&htmlText, wxT("<li>\\1</li>"));
175            
176    
177          /* {{ }} */          /* {{ }} */
178          wxRegEx exp8(wxT("\\{\\{([^\\}]+)\\}\\}"));          wxRegEx exp8(wxT("\\{\\{([^\\}]+)\\}\\}"));

Legend:
Removed from v.1.13  
changed lines
  Added in v.1.14

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26