Skip to content

Commit 4422bb3

Browse files
committed
[en/zh] fix version name
1 parent e367f2e commit 4422bb3

2 files changed

Lines changed: 13 additions & 10 deletions

File tree

docs/guide/getting-started.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -76,31 +76,31 @@ Here's an example for those who want to use TextMate grammars for syntax-highlig
7676

7777
```Kotlin{2-4} [Kotlin DSL]
7878
dependencies {
79-
implementation(platform("io.github.rosemoe:editor-bom:0.23.7"))
79+
implementation(platform("io.github.rosemoe:editor-bom:0.24.0"))
8080
implementation("io.github.rosemoe:editor")
8181
implementation("io.github.rosemoe:language-textmate")
8282
}
8383
```
8484

8585
```Groovy{2-4} [Groovy DSL]
8686
dependencies {
87-
implementation(platform("io.github.rosemoe:editor-bom:0.23.7"))
87+
implementation(platform("io.github.rosemoe:editor-bom:0.24.0"))
8888
implementation 'io.github.rosemoe:editor'
8989
implementation 'io.github.rosemoe:language-textmate'
9090
}
9191
```
9292

9393
```Kotlin{2-4} [Kotlin DSL without bom]
9494
dependencies {
95-
val editorVersion = "0.23.7"
95+
val editorVersion = "0.24.0"
9696
implementation("io.github.rosemoe:editor:$editorVersion")
9797
implementation("io.github.rosemoe:language-textmate:$editorVersion")
9898
}
9999
```
100100

101101
```Groovy{2-4} [Groovy DSL without bom]
102102
dependencies {
103-
def editorVersion = '0.23.7'
103+
def editorVersion = '0.24.0'
104104
implementation 'io.github.rosemoe:editor:$editorVersion'
105105
implementation 'io.github.rosemoe:language-textmate:$editorVersion'
106106
}
@@ -126,6 +126,7 @@ Check the table below to get more information about the modules.
126126
| language-java | A simple implementation for Java lexer-based highlighting and identifier auto-completion |
127127
| language-textmate | An advanced highlighter for the editor. It can be used to load TextMate language bundles and themes. The internal implementation of TextMate is from [tm4e](https://github.com/eclipse/tm4e) |
128128
| language-treesitter | Offer [tree-sitter](https://tree-sitter.github.io/tree-sitter/) support for editor. This can be used to parse the code to an AST fast and incrementally, which is helpful for accurate highlighting and providing completions. Note that this module only provides incremental parsing and highlighting. Thanks to Java bindings [android-tree-sitter](https://github.com/AndroidIDEOfficial/android-tree-sitter/) |
129+
129130
| oniguruma-native | Regexp library for language-textmate. Not used by default. |
130131

131132
### 🚧Snapshot Builds
@@ -137,7 +138,7 @@ Generally, it is recommended to use [released versions](https://github.com/Rosem
137138
Snapshot versions are automatically published on repository push. You may combine current released version name
138139
and `-SNAPSHOT` to make a snapshot version name.
139140

140-
For example, if the latest released version name is `0.23.7`, you may use version name `0.23.7-SNAPSHOT` to import the snapshot version to your project.
141+
For example, if the latest released version name is `0.24.0`, you may use version name `0.24.0-SNAPSHOT` to import the snapshot version to your project.
141142

142143
Note that adding extra maven repository is required:
143144
```Kotlin{3}

docs/zh/guide/getting-started.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -76,31 +76,31 @@ dependencies {
7676

7777
```Kotlin{2-4} [Kotlin DSL]
7878
dependencies {
79-
implementation(platform("io.github.rosemoe:editor-bom:0.23.7"))
79+
implementation(platform("io.github.rosemoe:editor-bom:0.24.0"))
8080
implementation("io.github.rosemoe:editor")
8181
implementation("io.github.rosemoe:language-textmate")
8282
}
8383
```
8484

8585
```Groovy{2-4} [Groovy DSL]
8686
dependencies {
87-
implementation(platform("io.github.rosemoe:editor-bom:0.23.7"))
87+
implementation(platform("io.github.rosemoe:editor-bom:0.24.0"))
8888
implementation 'io.github.rosemoe:editor'
8989
implementation 'io.github.rosemoe:language-textmate'
9090
}
9191
```
9292

9393
```Kotlin{2-4} [Kotlin DSL(不使用bom)]
9494
dependencies {
95-
val editorVersion = "0.23.7"
95+
val editorVersion = "0.24.0"
9696
implementation("io.github.rosemoe:editor:$editorVersion")
9797
implementation("io.github.rosemoe:language-textmate:$editorVersion")
9898
}
9999
```
100100

101101
```Groovy{2-4} [Groovy DSL(不使用bom)]
102102
dependencies {
103-
def editorVersion = '0.23.7'
103+
def editorVersion = '0.24.0'
104104
implementation 'io.github.rosemoe:editor:$editorVersion'
105105
implementation 'io.github.rosemoe:language-textmate:$editorVersion'
106106
}
@@ -127,6 +127,8 @@ dependencies {
127127
| language-textmate | 一个高级的高亮分析库。你可以借助它来加载textmate语言配置文件并应用于本编辑器。 内部实现来自[tm4e](https://github.com/eclipse/tm4e)|
128128
| language-treesitter | 为编辑器提供[tree-sitter](https://tree-sitter.github.io/tree-sitter/)支持。tree-sitter可用于快速、增量地将代码转换 成抽象语法树,以便您向用户提供精确的高亮和自动补全功能。注意此模块仅提供了转换和高亮支持。感谢[android-tree-sitter](https://github.com/AndroidIDEOfficial/android-tree-sitter/)项目提供的Java绑定库。 |
129129

130+
| oniguruma-native | 用于 TextMate 的正则表达式库。默认不使用。 |
131+
130132
### 🚧快照构建
131133

132134
通常情况下我们建议使用[正式发布的版本](https://github.com/Rosemoe/sora-editor/releases)。但有时候您可能需要使用最新的构建版本以取得最新的错误修复和功能更新。
@@ -135,7 +137,7 @@ dependencies {
135137

136138
快照版本在存储库推送时自动发布。您可以将当前发布的版本名称和 `-SNAPSHOT` 组合在一起,得到快照版本名称。
137139

138-
举个例子, 如果目前最新正式发布的版本是 `0.23.7`,则可以将 `0.23.7-SNAPSHOT` 作为版本号导入快照版本到您的项目中。
140+
举个例子, 如果目前最新正式发布的版本是 `0.24.0`,则可以将 `0.24.0-SNAPSHOT` 作为版本号导入快照版本到您的项目中。
139141

140142
需要注意的是,使用快照版本您需要额外添加一个maven存储库:
141143
```Kotlin{3}

0 commit comments

Comments
 (0)