From fbf53dce4aca781ab5470b13188cbfbc781f3f99 Mon Sep 17 00:00:00 2001 From: kudah Date: Thu, 9 May 2013 23:10:04 +0300 Subject: * Literate Haskell support * CPP highlighting is disableable * CPP is now correctly colored when inside comments and strings * Some bugs with incremental lexing fixed * Indented imports folding is now undisableable --- include/SciLexer.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include/SciLexer.h') diff --git a/include/SciLexer.h b/include/SciLexer.h index 506848a1c..1ddf628bd 100644 --- a/include/SciLexer.h +++ b/include/SciLexer.h @@ -120,6 +120,7 @@ #define SCLEX_ECL 105 #define SCLEX_OSCRIPT 106 #define SCLEX_VISUALPROLOG 107 +#define SCLEX_LITERATEHASKELL 108 #define SCLEX_AUTOMATIC 1000 #define SCE_P_DEFAULT 0 #define SCE_P_COMMENTLINE 1 @@ -1025,6 +1026,8 @@ #define SCE_HA_PREPROCESSOR 18 #define SCE_HA_STRINGEOL 19 #define SCE_HA_RESERVED_OPERATOR 20 +#define SCE_HA_LITERATE_COMMENT 21 +#define SCE_HA_LITERATE_CODEDELIM 22 #define SCE_T3_DEFAULT 0 #define SCE_T3_X_DEFAULT 1 #define SCE_T3_PREPROCESSOR 2 -- cgit v1.2.3