"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "stoolkit/syntax/SPattern.cpp" between
yudit-3.0.5.tar.gz and yudit-3.0.7.tar.gz

About: yudit is an Unicode plain-text editor that can do True Type font rendering, printing, transliterated keyboard input and handwriting recognition with no dependencies on external engines.

SPattern.cpp  (yudit-3.0.5):SPattern.cpp  (yudit-3.0.7)
skipping to change at line 44 skipping to change at line 44
* @author Gaspar Sinai * @author Gaspar Sinai
* @version 2007-11-27 * @version 2007-11-27
*/ */
SPattern::SPattern (void) : SPattern::SPattern (void) :
ACT_NONE ("none"), ACT_NONE ("none"),
ACT_ERROR ("error"), ACT_ERROR ("error"),
ACT_NUMBER ("number"), ACT_NUMBER ("number"),
ACT_KEYWORD ("keyword"), ACT_KEYWORD ("keyword"),
ACT_VARIABLE ("variable"), ACT_VARIABLE ("variable"),
ACT_DEFINE ("define"), ACT_DEFINE ("define"),
ACT_CONTROL ("control") ACT_CONTROL ("control"),
ACT_OTHER ("other")
{ {
clear (); clear ();
} }
SPattern::~SPattern () SPattern::~SPattern ()
{ {
} }
// //
void void
skipping to change at line 175 skipping to change at line 176
if (!singleMatchTest (leaveSize)) if (!singleMatchTest (leaveSize))
{ {
return false; return false;
} }
return true; return true;
case SD_CC_Nd: case SD_CC_Nd:
case SD_CC_Nl: case SD_CC_Nl:
case SD_CC_No: case SD_CC_No:
action = ACT_NUMBER; action = ACT_NUMBER;
break; break;
case SD_CC_So:
action = ACT_OTHER;
break;
default: default:
action = ACT_CONTROL; action = ACT_CONTROL;
} }
current.remove (0); current.remove (0);
return true; return true;
} }
return false; return false;
} }
 End of changes. 2 change blocks. 
1 lines changed or deleted 5 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)