Update SQL syntax style

This commit is contained in:
1024jp 2022-03-04 01:53:22 +09:00
parent 6e2a02e23f
commit 043fef0f33
4 changed files with 14 additions and 10 deletions

View File

@ -9,7 +9,7 @@ Change Log
- Use `python3` instead of `python` for running the `cot` command so that macOS 12.3 and later can use the Python installed with the Apple's developer tools (From macOS 12.3 on, cot command requires additional install of python3).
- Optimize the performance of syntax highlighing.
- Update CSS syntax style to add more coloring keywords.
- Update CSS and SQL syntax styles to add more coloring keywords.
- Update Python syntax style to add keywords added in Python 3.10.
- Update Markdown and SVG syntax styles for faster syntax parsing.
- Update JSON syntax style to fix coloring.

View File

@ -31,7 +31,7 @@
<ul>
<li>Use <code>python3</code> instead of <code>python</code> for running the <code>cot</code> command so that macOS 12.3 and later can use the Python installed via the Apple's developer tools (From macOS 12.3 on, cot command requires additional install of python3).</li>
<li>Optimize the performance of syntax highlighing.</li>
<li>Update CSS syntax style to add more coloring keywords.</li>
<li>Update CSS and SQL syntax styles to add more coloring keywords.</li>
<li>Update Python syntax style to add keywords added in Python 3.10</li>
<li>Update Markdown and SVG syntax styles for faster syntax parsing.</li>
<li>Update JSON syntax style to fix coloring.</li>

View File

@ -31,7 +31,7 @@
<ul>
<li>macOS 12.3以降でAppleが提供する開発ツールのPythonが引き続き利用できるように、cotコマンドの実行の<code>python</code>から<code>python3</code>に変更macOS 12.3以降では、cotコマンドの利用にユーザによるpython3のインストールが必要です</li>
<li>シンタックスハイライトのパフォーマンスを最適化</li>
<li>CSSシンタックススタイルを更新しカラーリングキーワードをさらに追加</li>
<li>CSSとSQLシンタックススタイルを更新しカラーリングキーワードをさらに追加</li>
<li>Pythonシンタックススタイルを更新しPython 3.10で追加されたキーワードを追加</li>
<li>MarkdownとSVGシンタックススタイルを更新しシンタックス解析を高速化</li>
<li>JSONシンタックススタイルを更新しカラーリングを修正</li>

View File

@ -10,10 +10,12 @@ attributes: []
metadata:
author: "1024jp"
distributionURL: "https://coteditor.com"
version: "1.0"
version: "1.1.0"
license: "Same as CotEditor"
lastModified: "2014-09-24"
characters: []
lastModified: "2022-03-03"
characters:
- beginString: "\\\\u[0-9a-f]{4}\\b"
regularExpression: true
comments: []
values:
- beginString: "false"
@ -100,13 +102,15 @@ types:
- beginString: "year"
ignoreCase: true
numbers:
- beginString: "\\b\\d+\\b"
- beginString: "\\b[0-9]++\\b"
regularExpression: true
- beginString: "\\d*\\.\\d+(e[-+?\\d+])?"
- beginString: "\\b0x[0-9a-fA-F]++\\b"
regularExpression: true
- beginString: "\\d+\\.(\\d+(e[-+]?\\d+)?)?"
- beginString: "[0-9]*+\\.[0-9]++(e[-+]?[0-9]++)?"
regularExpression: true
- beginString: "\\d+e[-+]?\\d+"
- beginString: "[0-9]++\\.[0-9]*+(e[-+]?[0-9]++)?"
regularExpression: true
- beginString: "[0-9]++e[-+]?[0-9]++"
regularExpression: true
strings:
- beginString: "'"