aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/SciLexer.h
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2002-11-17 03:21:17 +0000
committernyamatongwe <devnull@localhost>2002-11-17 03:21:17 +0000
commita77e6114d5f88b32e2abb8f3bcb58e583b0a4fe0 (patch)
treef8016351fc37db822f86bdb13158ac648d4a1954 /include/SciLexer.h
parentf3c7458a480cd229e7273da85291c74f50847ee6 (diff)
downloadscintilla-mirror-a77e6114d5f88b32e2abb8f3bcb58e583b0a4fe0.tar.gz
Jakub Vrána has added a CSS (Cascading Style Sheet) lexer to Scintilla.
This is separate to the HTML lexer and is only invoked for stand-alone CSS files, not for the STYLE section of HTML files. He also made some other additions. There is a Line Duplicate command which is bound to Ctrl+D. PHP lexing has been improved.
Diffstat (limited to 'include/SciLexer.h')
-rw-r--r--include/SciLexer.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/include/SciLexer.h b/include/SciLexer.h
index f3bd22d8b..ded46b781 100644
--- a/include/SciLexer.h
+++ b/include/SciLexer.h
@@ -52,6 +52,7 @@
#define SCLEX_CPPNOCASE 35
#define SCLEX_FORTRAN 36
#define SCLEX_F77 37
+#define SCLEX_CSS 38
#define SCLEX_AUTOMATIC 1000
#define SCE_P_DEFAULT 0
#define SCE_P_COMMENTLINE 1
@@ -426,6 +427,19 @@
#define SCE_F_OPERATOR2 12
#define SCE_F_LABEL 13
#define SCE_F_CONTINUATION 14
+#define SCE_CSS_DEFAULT 0
+#define SCE_CSS_TAG 1
+#define SCE_CSS_CLASS 2
+#define SCE_CSS_PSEUDOCLASS 3
+#define SCE_CSS_UNKNOWN_PSEUDOCLASS 4
+#define SCE_CSS_OPERATOR 5
+#define SCE_CSS_IDENTIFIER 6
+#define SCE_CSS_UNKNOWN_IDENTIFIER 7
+#define SCE_CSS_VALUE 8
+#define SCE_CSS_COMMENT 9
+#define SCE_CSS_ID 10
+#define SCE_CSS_IMPORTANT 11
+#define SCE_CSS_DIRECTIVE 12
//--Autogenerated -- end of section automatically generated from Scintilla.iface
#endif