Make Position constructor public
TextBufferKit - a port of the vscode-textbuffer code to Swift 5.1
(This currently requires Xcode11 to build)
Documented here:
https://code.visualstudio.com/blogs/2018/03/23/text-buffer-reimplementation
Based on the code here:
https://github.com/Microsoft/vscode-textbuffer
Plus the VSCode extensions, that include a higher-level API, and the text matching:
https://github.com/Microsoft/vscode
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
版权所有:中国计算机学会技术支持:开源发展技术委员会 京ICP备13000930号-9 京公网安备 11010802032778号
TextBufferKit - a port of the vscode-textbuffer code to Swift 5.1
(This currently requires Xcode11 to build)
Documented here:
https://code.visualstudio.com/blogs/2018/03/23/text-buffer-reimplementation
Based on the code here:
https://github.com/Microsoft/vscode-textbuffer
Plus the VSCode extensions, that include a higher-level API, and the text matching:
https://github.com/Microsoft/vscode
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