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.11 by maloninc, Wed Jan 4 03:57:19 2006 UTC revision 1.12 by maloninc, Fri Jan 20 12:49:54 2006 UTC
# Line 139  void mnNotePanel::makeHtml(WikiData* wik Line 139  void mnNotePanel::makeHtml(WikiData* wik
139                    
140          /* [[ ]] */          /* [[ ]] */
141          wxRegEx exp1(wxT("\\[\\[([^\\}]+)\\]\\]"));          wxRegEx exp1(wxT("\\[\\[([^\\}]+)\\]\\]"));
142          exp1.Replace(&htmlText, wxT("<a href=" MNLINK "\\1>\\1</a>"));          exp1.Replace(&htmlText, wxT("<a href=\"" MNLINK "\\1\">\\1</a>"));
143    
144          /* file://  */            /* file://  */  
145          wxRegEx exp3(wxT("(file://[^ ]+)"), wxRE_NEWLINE|wxRE_DEFAULT);          wxRegEx exp3(wxT("(file://[^ ]+)"), wxRE_NEWLINE|wxRE_DEFAULT);
# Line 171  void mnNotePanel::makeHtml(WikiData* wik Line 171  void mnNotePanel::makeHtml(WikiData* wik
171    
172          /* {{ }} */          /* {{ }} */
173          wxRegEx exp8(wxT("\\{\\{([^\\}]+)\\}\\}"));          wxRegEx exp8(wxT("\\{\\{([^\\}]+)\\}\\}"));
174          exp8.Replace(&htmlText, wxT("<a href=" MNDOC "\\1>\\1</a>"));          exp8.Replace(&htmlText, wxT("<a href=\"" MNDOC "\\1\">\\1</a>"));
175    
176          /* table */          /* table */
177          wxRegEx exp10(wxT("^,([^,]+)"), wxRE_NEWLINE|wxRE_DEFAULT);          wxRegEx exp10(wxT("^,([^,]+)"), wxRE_NEWLINE|wxRE_DEFAULT);

Legend:
Removed from v.1.11  
changed lines
  Added in v.1.12

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