diff options
author | nyamatongwe <unknown> | 2009-04-12 05:59:50 +0000 |
---|---|---|
committer | nyamatongwe <unknown> | 2009-04-12 05:59:50 +0000 |
commit | 001550a0de196eca314eea792bfada74a19773b1 (patch) | |
tree | 2179411162e59d989ae8e2c44db37c5c74ac813d /src/LexSQL.cxx | |
parent | 67db09ae242cf51a4aab5fe8cb36bb8e7b11c7dd (diff) | |
download | scintilla-mirror-001550a0de196eca314eea792bfada74a19773b1.tar.gz |
Using comments in lexer code to document meaning of properties.
Automatically extract into SciTE doumentation.
Diffstat (limited to 'src/LexSQL.cxx')
-rw-r--r-- | src/LexSQL.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/LexSQL.cxx b/src/LexSQL.cxx index eb1cddbdf..01aa7ad0f 100644 --- a/src/LexSQL.cxx +++ b/src/LexSQL.cxx @@ -61,7 +61,10 @@ static void ColouriseSQLDoc(unsigned int startPos, int length, int initStyle, Wo StyleContext sc(startPos, length, initStyle, styler); + // property sql.backslash.escapes + // Enables backslash as an escape character in SQL. bool sqlBackslashEscapes = styler.GetPropertyInt("sql.backslash.escapes", 0) != 0; + bool sqlBackticksIdentifier = styler.GetPropertyInt("lexer.sql.backticks.identifier", 0) != 0; int styleBeforeDCKeyword = SCE_SQL_DEFAULT; for (; sc.More(); sc.Forward()) { |