From 5b4a85b7213e92707c65b946b92e1a2ad52a2df1 Mon Sep 17 00:00:00 2001 From: 1024jp <1024jp@wolfrosch.com> Date: Mon, 4 Nov 2024 16:55:38 +0900 Subject: [PATCH] Update Swift syntax --- CHANGELOG.md | 2 +- CotEditor/Resources/Syntaxes/Swift.yml | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index cface854bc..639ce403b4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,7 +5,7 @@ ### Improvements -- Update the Swift syntax to add `@ViewLoading` and `@WindowLoading` attributes. +- Update the Swift syntax to add `@Bindable`, `@ViewLoading`, and `@WindowLoading` attributes. - [trivial] Rename “Move Focus” commands. - [trivial] Focus on the first input field when opening a dialog. diff --git a/CotEditor/Resources/Syntaxes/Swift.yml b/CotEditor/Resources/Syntaxes/Swift.yml index d864ad5795..15b18471aa 100644 --- a/CotEditor/Resources/Syntaxes/Swift.yml +++ b/CotEditor/Resources/Syntaxes/Swift.yml @@ -6,6 +6,7 @@ attributes: - beginString: '@autoclosure' - beginString: '@available' - beginString: '@backDeployed' +- beginString: '@Bindable' - beginString: '@Binding' - beginString: '@convention' - beginString: '@derivative' @@ -221,7 +222,7 @@ metadata: author: 1024jp description: Based on Swift 6.0 distributionURL: https://coteditor.com - lastModified: '2024-10-17' + lastModified: '2024-11-04' license: Same as CotEditor version: 4.12.1 numbers: