Changeset View
Changeset View
Standalone View
Standalone View
data/syntax/sql-mysql.xml
Context not available. | |||||
4 | MySQL syntax definition based on sql.xml by Yury Lebedev | 4 | MySQL syntax definition based on sql.xml by Yury Lebedev | ||
---|---|---|---|---|---|
5 | original by Shane Wright (me@shanewright.co.uk) | 5 | original by Shane Wright (me@shanewright.co.uk) | ||
6 | modifications by Milian Wolff (mail@milianw.de) | 6 | modifications by Milian Wolff (mail@milianw.de) | ||
7 | v3 fix comments by Gene Thomas <gene@genethomas.com> | ||||
7 | --> | 8 | --> | ||
8 | <language name="SQL (MySQL)" version="2" kateversion="3.4" section="Database" extensions="*.sql;*.SQL;*.ddl;*.DDL" mimetype="text/x-sql" casesensitive="0" author="Shane Wright (me@shanewright.co.uk)" license=""> | 9 | <language name="SQL (MySQL)" version="3" kateversion="3.4" section="Database" extensions="*.sql;*.SQL;*.ddl;*.DDL" mimetype="text/x-sql" casesensitive="0" author="Shane Wright (me@shanewright.co.uk)" license=""> | ||
9 | <highlighting> | 10 | <highlighting> | ||
10 | <list name="keywords"> | 11 | <list name="keywords"> | ||
11 | <item>ACCESS</item> | 12 | <item>ACCESS</item> | ||
Context not available. | |||||
383 | <contexts> | 384 | <contexts> | ||
384 | <context name="Normal" attribute="Normal Text" lineEndContext="#stay"> | 385 | <context name="Normal" attribute="Normal Text" lineEndContext="#stay"> | ||
385 | <DetectSpaces/> | 386 | <DetectSpaces/> | ||
387 | | ||||
388 | <!-- comments, before operators --> | ||||
389 | <DetectChar attribute="Comment" context="SingleLineComment" char="#"/> | ||||
390 | <Detect2Chars attribute="Comment" context="SingleLineComment" char="-" char1="-"/> | ||||
391 | <Detect2Chars attribute="Comment" context="MultiLineComment" char="/" char1="*" beginRegion="Comment"/> | ||||
392 | <RegExpr attribute="Comment" context="SingleLineComment" String="rem\b" insensitive="true" column="0"/> | ||||
393 | | ||||
386 | <!-- problematic special cases --> | 394 | <!-- problematic special cases --> | ||
387 | <!-- SET type --> | 395 | <!-- SET type --> | ||
388 | <RegExpr attribute="Data Type" context="#stay" insensitive="true" String="SET(?=\s*\()"/> | 396 | <RegExpr attribute="Data Type" context="#stay" insensitive="true" String="SET(?=\s*\()"/> | ||
Context not available. | |||||
405 | <DetectChar attribute="String" context="String" char="'"/> | 413 | <DetectChar attribute="String" context="String" char="'"/> | ||
406 | <DetectChar attribute="String" context="String2" char="""/> | 414 | <DetectChar attribute="String" context="String2" char="""/> | ||
407 | <DetectChar attribute="Name" context="Name" char="`"/> | 415 | <DetectChar attribute="Name" context="Name" char="`"/> | ||
408 | <!-- comments --> | | |||
409 | <DetectChar attribute="Comment" context="SingleLineComment" char="#"/> | | |||
410 | <Detect2Chars attribute="Comment" context="SingleLineComment" char="-" char1="-"/> | | |||
411 | <Detect2Chars attribute="Comment" context="MultiLineComment" char="/" char1="*" beginRegion="Comment"/> | | |||
412 | <RegExpr attribute="Comment" context="SingleLineComment" String="rem\b" insensitive="true" column="0"/> | | |||
413 | 416 | | |||
414 | <AnyChar attribute="Symbol" context="#stay" String=":&"/> | 417 | <AnyChar attribute="Symbol" context="#stay" String=":&"/> | ||
415 | <RegExpr attribute="Symbol" context="#stay" String="/$" column="0"/> | 418 | <RegExpr attribute="Symbol" context="#stay" String="/$" column="0"/> | ||
Context not available. |