Skip to content

Commit b6a30b8

Browse files
authored
Merge pull request #94 from lukepistrol/documentation/improvements
[documentation]: add images, link to `CodeEditLanguages`
2 parents 2035c4c + be8cbb0 commit b6a30b8

File tree

6 files changed

+18
-4
lines changed

6 files changed

+18
-4
lines changed

Package.resolved

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Package.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ let package = Package(
1919
),
2020
.package(
2121
url: "https://github.com/CodeEditApp/CodeEditLanguages.git",
22-
exact: "0.1.2"
22+
exact: "0.1.3"
2323
),
2424
],
2525
targets: [

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@
1010
<a aria-label="Join the community on Discord" href="https://discord.gg/vChUXVf9Em" target="_blank">
1111
<img alt="" src="https://img.shields.io/badge/Join%20the%20community-black.svg?style=for-the-badge&logo=Discord">
1212
</a>
13+
<a aria-label="Read the Documentation" href="https://codeeditapp.github.io/CodeEditTextView/documentation/codeedittextview/" target="_blank">
14+
<img alt="" src="https://img.shields.io/badge/Documentation-black.svg?style=for-the-badge&logo=readthedocs&logoColor=blue">
15+
</a>
1316
</p>
1417

1518
An Xcode-inspired code editor view written in Swift powered by tree-sitter for [CodeEdit](https://github.com/CodeEditApp/CodeEdit). Features include syntax highlighting (based on the provided theme), code completion, find and replace, text diff, validation, current line highlighting, minimap, inline messages (warnings and errors), bracket matching, and more.

Sources/CodeEditTextView/Documentation.docc/Documentation.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,20 @@ A code editor with syntax highlighting powered by tree-sitter.
44

55
## Overview
66

7+
![logo](codeedittextview-logo)
8+
9+
An Xcode-inspired code editor view written in Swift powered by tree-sitter for [CodeEdit](https://github.com/CodeEditApp/CodeEdit). Features include syntax highlighting (based on the provided theme), code completion, find and replace, text diff, validation, current line highlighting, minimap, inline messages (warnings and errors), bracket matching, and more.
10+
711
This package includes both `AppKit` and `SwiftUI` components. It also relies on the `CodeEditLanguages` and `Theme` module.
812

13+
![banner](preview)
14+
15+
## Syntax Highlighting
16+
17+
``CodeEditTextView`` uses `tree-sitter` for syntax highlighting. A list of already supported languages can be found [here](https://github.com/CodeEditApp/CodeEditTextView/issues/15).
18+
19+
New languages need to be added to the [CodeEditLanguages](https://github.com/CodeEditApp/CodeEditLanguages) repo.
20+
921
## Dependencies
1022

1123
Special thanks to both [Marcin Krzyzanowski](https://twitter.com/krzyzanowskim) & [Matt Massicotte](https://twitter.com/mattie) for the great work they've done!
@@ -25,4 +37,3 @@ Special thanks to both [Marcin Krzyzanowski](https://twitter.com/krzyzanowskim)
2537
### Theme
2638

2739
- ``EditorTheme``
28-
39.2 KB
Loading
445 KB
Loading

0 commit comments

Comments
 (0)