Swiftpack.co - migueldeicaza/TextBufferKit as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by migueldeicaza.
migueldeicaza/TextBufferKit 0.3.0
Swift TextBuffer
⭐️ 93
🕓 30 weeks ago
.package(url: "https://github.com/migueldeicaza/TextBufferKit.git", from: "0.3.0")

TextBufferKit - a port of the vscode-textbuffer code to Swift 5.1

(This currently requires Xcode11 to build)

Documented here:


Based on the code here:


Plus the VSCode extensions, that include a higher-level API, and the text matching:


One significant difference from the original implementation is that this uses bytes rather than characters for storage, so it is necessary to create strings and characters out of the UTF8 representation.xs


Stars: 93
Last commit: 29 weeks ago
jonrohan Something's broken? Yell at me @ptrpavlik. Praise and feedback (and money) is also welcome.

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics