mirror of
https://github.com/coteditor/CotEditor.git
synced 2024-09-11 11:25:57 +03:00
Fix variable highlighting in Shell Script
This commit is contained in:
parent
2b4bbc765f
commit
9a609640bb
@ -8,6 +8,8 @@ develop
|
||||
### Improvements
|
||||
|
||||
- Increase the number of significant digits in file size display.
|
||||
- Update Shell Script syntax style:
|
||||
- Fix variable highlight with `_`.
|
||||
- [beta] Disable “Balance brackets and quotes” option by default.
|
||||
- [beta] Update “General” pane layout.
|
||||
|
||||
|
@ -75,6 +75,10 @@
|
||||
<li>Improve character compatibility check.</li>
|
||||
<li>Better error message on file opening.</li>
|
||||
<li>Increase the number of significant digits in file size display.</li>
|
||||
<li>Update Shell Script syntax style:
|
||||
<ul>
|
||||
<li>Fix variable highlight with <code>_</code>.</li>
|
||||
</ul></li>
|
||||
<li>Take a safety measure for in case the key binding setting file is corrupt.</li>
|
||||
<li>Truncate outline label in the navigation bar by appending ellipsis if it overflows.</li>
|
||||
<li>Move some options position within “General” pane and “Edit” pane in preferences window.</li>
|
||||
|
@ -75,6 +75,10 @@
|
||||
<li>非互換文字チェックを改良</li>
|
||||
<li>ファイルオープン時のエラーメッセージを改良</li>
|
||||
<li>ファイルサイズ表示の有効桁数を増加</li>
|
||||
<li>Shell Script シンタックス定義を更新
|
||||
<ul>
|
||||
<li><code>_</code> を含む変数のハイライトを修正</li>
|
||||
</ul></li>
|
||||
<li>キーバインド設定ファイルが壊れているときの安全対策を追加</li>
|
||||
<li>アウトラインメニューの項目ラベルが表示スペースから溢れるとき、三点リーダで省略</li>
|
||||
<li>一部の設定項目を「編集」ペインと「一般」ペイン間で移動</li>
|
||||
|
@ -17,9 +17,9 @@ interpreters:
|
||||
metadata:
|
||||
author: "1024jp"
|
||||
distributionURL: "http://coteditor.com"
|
||||
version: "3.1.0"
|
||||
version: "3.2.0"
|
||||
license: "Same as CotEditor"
|
||||
lastModified: "2015-11-07"
|
||||
lastModified: "2016-02-04"
|
||||
keywords:
|
||||
- beginString: "break"
|
||||
- beginString: "breaksw"
|
||||
@ -225,13 +225,13 @@ commands:
|
||||
- beginString: "zip"
|
||||
- beginString: "zsh"
|
||||
variables:
|
||||
- beginString: "\\$\\{?[a-z][a-z0-9]*\\}?"
|
||||
- beginString: "\\$\\{?[_a-z][_a-z0-9]*\\}?"
|
||||
regularExpression: true
|
||||
ignoreCase: true
|
||||
- beginString: "\\b[a-z][a-z0-9]*(?=\\=)"
|
||||
- beginString: "\\b[_a-z][_a-z0-9]*(?=\\=)"
|
||||
regularExpression: true
|
||||
ignoreCase: true
|
||||
- beginString: "\\b(?<=for(each)?) +[a-z][a-z0-9]*"
|
||||
- beginString: "\\b(?<=for(each)?) +[_a-z][_a-z0-9]*"
|
||||
regularExpression: true
|
||||
ignoreCase: true
|
||||
values:
|
||||
|
Loading…
Reference in New Issue
Block a user