Revision: 647 http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=647&view=rev Author: eht16 Date: 2009-05-14 19:59:07 +0000 (Thu, 14 May 2009)
Log Message: ----------- Update Pascal styles as they changed in Scintilla.
Modified Paths: -------------- trunk/spellcheck/ChangeLog trunk/spellcheck/src/speller.c
Modified: trunk/spellcheck/ChangeLog =================================================================== --- trunk/spellcheck/ChangeLog 2009-05-14 19:55:43 UTC (rev 646) +++ trunk/spellcheck/ChangeLog 2009-05-14 19:59:07 UTC (rev 647) @@ -3,6 +3,8 @@ * src/gui.c, src/scplugin.c, src/gui.h: Update the label of the "Default" menu item if the default language has been changed. + * src/speller.c: + Update Pascal styles as they changed in Scintilla.
2009-05-02 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
Modified: trunk/spellcheck/src/speller.c =================================================================== --- trunk/spellcheck/src/speller.c 2009-05-14 19:55:43 UTC (rev 646) +++ trunk/spellcheck/src/speller.c 2009-05-14 19:59:07 UTC (rev 647) @@ -502,8 +502,29 @@ } break; } +#ifdef SCE_PAS_DEFAULT + case SCLEX_PASCAL: + { + switch (style) + { + case SCE_PAS_DEFAULT: + case SCE_PAS_COMMENT: + case SCE_PAS_COMMENT2: + case SCE_PAS_COMMENTLINE: + case SCE_PAS_STRING: + case SCE_PAS_CHARACTER: + return TRUE; + default: + return FALSE; + } + break; + } + +#endif case SCLEX_CPP: +#ifndef SCE_PAS_DEFAULT case SCLEX_PASCAL: +#endif { switch (style) {
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
plugins-commits@lists.geany.org