58ea193054
The current test DSL currently has no way to express being at the end of a line, save for putting an explicit LF or CRLF inside the `#[|]#`. The problem with this approach is that it can add unintended extra new lines if used in conjunction with raw strings, which insert newlines for you. This is a simple attempt to mitigate this problem. If there is an explicit newline character at the end of the selection, and then it is immediately followed by the same newline character at the right end of the selection, this following newline is removed. This way, one can express a cursor at the end of a line explicitly.
52 lines
1.2 KiB
TOML
52 lines
1.2 KiB
TOML
[package]
|
|
name = "helix-core"
|
|
version = "0.6.0"
|
|
authors = ["Blaž Hrastnik <blaz@mxxn.io>"]
|
|
edition = "2021"
|
|
license = "MPL-2.0"
|
|
description = "Helix editor core editing primitives"
|
|
categories = ["editor"]
|
|
repository = "https://github.com/helix-editor/helix"
|
|
homepage = "https://helix-editor.com"
|
|
include = ["src/**/*", "README.md"]
|
|
|
|
[features]
|
|
unicode-lines = ["ropey/unicode_lines"]
|
|
integration = []
|
|
|
|
[dependencies]
|
|
helix-loader = { version = "0.6", path = "../helix-loader" }
|
|
|
|
ropey = { version = "1.6.0", default-features = false, features = ["simd"] }
|
|
smallvec = "1.10"
|
|
smartstring = "1.0.1"
|
|
unicode-segmentation = "1.10"
|
|
unicode-width = "0.1"
|
|
unicode-general-category = "0.6"
|
|
# slab = "0.4.2"
|
|
slotmap = "1.0"
|
|
tree-sitter = "0.20"
|
|
once_cell = "1.17"
|
|
arc-swap = "1"
|
|
regex = "1"
|
|
bitflags = "1.3"
|
|
ahash = "0.8.3"
|
|
hashbrown = { version = "0.13.2", features = ["raw"] }
|
|
|
|
log = "0.4"
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
serde_json = "1.0"
|
|
toml = "0.7"
|
|
|
|
imara-diff = "0.1.0"
|
|
|
|
encoding_rs = "0.8"
|
|
|
|
chrono = { version = "0.4", default-features = false, features = ["alloc", "std"] }
|
|
|
|
etcetera = "0.4"
|
|
textwrap = "0.16.0"
|
|
|
|
[dev-dependencies]
|
|
quickcheck = { version = "1", default-features = false }
|
|
indoc = "1.0.6"
|