From 001550a0de196eca314eea792bfada74a19773b1 Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Sun, 12 Apr 2009 05:59:50 +0000 Subject: Using comments in lexer code to document meaning of properties. Automatically extract into SciTE doumentation. --- src/LexSQL.cxx | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/LexSQL.cxx') 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()) { -- cgit v1.2.3