forked from codingmonkeys/SubEthaEdit-Modes
-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
12 changed files
with
992 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
<plist version="1.0"> | ||
<dict> | ||
<key>CFBundleIdentifier</key> | ||
<string>SEEMode.SQL</string> | ||
<key>CFBundleName</key> | ||
<string>SQL</string> | ||
<key>NSHumanReadableCopyright</key> | ||
<string>© 2014 TheCodingMonkeys | ||
http://www.codingmonkeys.de</string> | ||
<key>CFBundleShortVersionString</key> | ||
<string>4.0</string> | ||
<key>CFBundleVersion</key> | ||
<string>4.0</string> | ||
<key>SEEMinimumEngineVersion</key> | ||
<string>4.0</string> | ||
<key>CFBundleInfoDictionaryVersion</key> | ||
<string>6.0</string> | ||
</dict> | ||
</plist> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
Changes with Version 4.0 (SEE 4.0) | ||
*) SYNTAX: updated for syntax scopes | ||
*) SYNTAX: markup cleanup | ||
*) added ExampleSyntax.txt | ||
*) added ScopeExamples.plist | ||
|
||
Changes with Version 3.5 (SEE 3.5) | ||
*) added code folding | ||
|
||
Changes with Version 1.2 (SEE 2.5) | ||
*) Fixed SEE-942: SQL mode does not respect backtick strings. | ||
|
||
Changes with Version 1.1 | ||
*) EXTENSIONS: Added uppercase variants where appropriate. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
-- SQL Example Syntax File | ||
/* | ||
SQL | ||
Example Syntax | ||
File | ||
*/ | ||
|
||
CREATE TABLE message (text char(15)); | ||
INSERT INTO message (text) VALUES ('Hello, world!'); | ||
SELECT text FROM message; | ||
DROP TABLE message; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<settings> | ||
<recognition> | ||
<extension>sql</extension> | ||
<extension>mysql</extension> | ||
<extension>postgresql</extension> | ||
</recognition> | ||
</settings> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
## Mode for SQL. | ||
|
||
Ported Version of the formerly built-in SubEthaEdit Mode, July 2014. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE syntax SYSTEM "symbol.dtd"> | ||
<symbols> | ||
|
||
<blocks> | ||
<beginregex>{</beginregex> | ||
<endregex>}</endregex> | ||
</blocks> | ||
|
||
<symbol id="C Funtions" image="SymbolC" indentation="1" ignoreblocks="yes"> | ||
<regex>(?i)CREATE[ \t]+TABLE[ \t]*([\w\d_]+)[ \t]*\(</regex> | ||
</symbol> | ||
|
||
<symbol id="SQL Triggers" image="SymbolT" indentation="1" ignoreblocks="yes"> | ||
<regex>(?i)CREATE[ \t]+TRIGGER[ \t]*([\w\d_]+)</regex> | ||
</symbol> | ||
|
||
<symbol id="CVS/SVN conflict" font-weight="bold" image="SymbolWarn" indentation="0" ignoreblocks="no"> | ||
<regex>^<<<<<<<([\n\r]|.)*?======([\n\r]|.)*?>>>>>>></regex> | ||
<postprocess> | ||
<find>.*</find> | ||
<replace>Versioning conflict!</replace> | ||
</postprocess> | ||
</symbol> | ||
|
||
</symbols> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
<plist version="1.0"> | ||
<dict> | ||
<key>keyword.type</key> | ||
<string>BLOB FLOAT TIME</string> | ||
<key>support.subroutine.function</key> | ||
<string>ABS CURRENT_DATE</string> | ||
<key>keyword.constant</key> | ||
<string>FALSE NULL TRUE</string> | ||
<key>keyword</key> | ||
<string>ALL BUILD CHECK</string> | ||
<key>language.constant.numeric</key> | ||
<string>42</string> | ||
<key>comment.block</key> | ||
<string>/* Comment */</string> | ||
<key>comment.line.number-sign</key> | ||
<string># Comment (mysql)</string> | ||
<key>comment.line.double-dash</key> | ||
<string>-- Comment</string> | ||
<key>string.single</key> | ||
<string>'Strings'</string> | ||
<key>string.double</key> | ||
<string>"Strings"</string> | ||
<key>string.single.backtick</key> | ||
<string>`Strings`</string> | ||
</dict> | ||
</plist> |
Oops, something went wrong.