diff options
author | kudah <kudahkukarek@gmail.com> | 2013-04-04 11:16:34 +0300 |
---|---|---|
committer | kudah <kudahkukarek@gmail.com> | 2013-04-04 11:16:34 +0300 |
commit | 0b8276204808fbaa2711e3c2e5e5434d6d012589 (patch) | |
tree | 8082059f0bef3008fb4d9d449c1b72f61ac819d0 /include/SciLexer.h | |
parent | 056586fef66b6ca97eb3f017675dbed62ba7010a (diff) | |
download | scintilla-mirror-0b8276204808fbaa2711e3c2e5e5434d6d012589.tar.gz |
Improvements to Haskell Lexer:
* Added support for MagicHash extension (lexer.haskell.allow.hash)
* $ and # are now colored as operators.
* .0 and -0 are now properly colored as operator and a number, not as just number.
* Operators starting with double dash (e.g ---->) are properly colored as operators, not comments.
* Added pragma highlighting.
* Added basic C-preprocessor highlighting.
* Qualified names (e.g. ABC.xyz) are now properly highlighted as identifiers, not types.
* Qualified operators (e.g. ABC.<$>) are now properly highlighted as operators.
* Operator . is now properly highlighted as an operator, not part of the identifier, when applied to a qualified and an unqualified value (e.g. Abc.xyz.yzx <- last one is an operator)
* Operators starting with ':' are now properly highlighted as type constructors, not operators.
* family after data is highlighted, as per TypeFamilies.
Diffstat (limited to 'include/SciLexer.h')
-rw-r--r-- | include/SciLexer.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/SciLexer.h b/include/SciLexer.h index 44043fe6e..f04222d19 100644 --- a/include/SciLexer.h +++ b/include/SciLexer.h @@ -1020,6 +1020,8 @@ #define SCE_HA_COMMENTBLOCK 14 #define SCE_HA_COMMENTBLOCK2 15 #define SCE_HA_COMMENTBLOCK3 16 +#define SCE_HA_PRAGMA 17 +#define SCE_HA_PREPROCESSOR 18 #define SCE_T3_DEFAULT 0 #define SCE_T3_X_DEFAULT 1 #define SCE_T3_PREPROCESSOR 2 |