Nathan Vegdahl
7c7be6d583
Make `Selection`'s normalize and transform methods self-consuming only.
4 years ago
Nathan Vegdahl
0ae522f3df
Clean up `Selection` to not use so many allocations.
4 years ago
Nathan Vegdahl
77a266e818
Better validation method APIs for `Range`.
...
This way they do less work, are more specific to what we actually
need, and they compose.
4 years ago
Nathan Vegdahl
d07074740b
Add `Range` methods for various kinds of validation.
4 years ago
Nathan Vegdahl
c1b0a71975
Change the `Range` type and associated functions to gap indexing.
4 years ago
Jakub Bartodziej
79f096963c
Color palettes ( #393 )
...
* Enable using color palettes in theme files.
* Add an example theme defined using a gruvbox color palette.
* Fix clippy error.
* Small style improvement.
* Add documentation for the features to themes.md.
* Update runtime/themes/gruvbox.toml
Fix the value of purple0.
Co-authored-by: DrZingo <DrZingo@users.noreply.github.com>
Co-authored-by: DrZingo <DrZingo@users.noreply.github.com>
4 years ago
Blaž Hrastnik
2a92dd8d4d
If completion arrives after we already stopped editing, ignore it
4 years ago
Kirawi
acaf22d005
Added native Windows clipboard support ( #373 )
...
* Added native Windows clipboard support
* make conditional
wip
better conditional
wip
wip
wip
wip
make conditional
4 years ago
Joe Neeman
b39e452d77
Make set_unmodified an enum.
4 years ago
Joe Neeman
2902a10a3e
Make Document's format API a little nicer.
4 years ago
Joe Neeman
ffa2f2590b
Satisfy clippy.
4 years ago
Joe Neeman
d64d75e724
Add some async job infrastructure.
4 years ago
Joe Neeman
c9be480bf8
Make formatting happen asynchronously.
4 years ago
Blaž Hrastnik
3007478567
fix: Correctly merge multiple selection ranges together
...
Fixes #391
4 years ago
Blaž Hrastnik
e9159887a9
ui: Use a box drawing character vertical line for splits
4 years ago
PabloMansanet
c2a292ecf3
Update keymap.md
4 years ago
PabloMansanet
de8745aea7
Incorporate long word commands into keymap
4 years ago
PabloMansanet
73572b7780
Add long word unit tests
4 years ago
PabloMansanet
073517a92f
Add long word motion implementation
4 years ago
Kirawi
e81d665e18
Delete .gitattributes
4 years ago
Kirawi
5928d87837
Update `.gitattributes` to #372
4 years ago
Blaž Hrastnik
51162ae6b2
fix ca98210d20
4 years ago
Blaž Hrastnik
6214d707f3
fix: Don't panic on Enter on an empty document.
...
Refs #386
4 years ago
Blaž Hrastnik
ca98210d20
fix: insert() | delete() would calculate the new insert incorrectly
...
Refs #386
4 years ago
Blaž Hrastnik
d4e1ec339e
Don't crash if diagnostics span past EOF
4 years ago
Blaž Hrastnik
d94410a678
Sort the files in descending order
4 years ago
Blaž Hrastnik
82fc28a0ce
ui: Simplify conditional
4 years ago
Blaž Hrastnik
bcca152ad5
Merge tab & char rendering code
4 years ago
Blaž Hrastnik
01b1a62e2c
This char_index is unused
4 years ago
Blaž Hrastnik
4edfac21f6
Allocate the tab stop only once
4 years ago
Blaž Hrastnik
1b102d5532
Extract the merge "operator" into helix-core
4 years ago
Blaž Hrastnik
ae58d813b2
Appease clippy
4 years ago
Blaž Hrastnik
c832aa5a49
There is no direct dirs-next dependency in term
4 years ago
Blaž Hrastnik
f9cdb2afe2
Turn diagnostics rendering into span injection too
4 years ago
Blaž Hrastnik
90d675fb15
Fix AnyComponent test
4 years ago
Blaž Hrastnik
cac6e1b282
nix: Set up cargo-tarpaulin
4 years ago
Blaž Hrastnik
057bd630d8
Simplify selection rendering by injecting highlight scopes
4 years ago
Blaž Hrastnik
44566ea812
Release 0.3.0
4 years ago
Blaž Hrastnik
cad14c6b46
Address nightly clippy warnings
4 years ago
Ivan Tham
ed1a745442
Trait width method use refactor
4 years ago
Nathan Vegdahl
a6cadddef4
Fix silly mistake in previous phantom line bug fix.
...
Fixes #381 . I was trying to change an index value that... wasn't
even an index value.
4 years ago
Nathan Vegdahl
2dba228c76
Fix highlight code splitting graphemes.
...
This resulted in phantom blank lines in files with CRLF line
endings, but could potentially have manifested with other
graphemes as well.
4 years ago
Wojciech Kępka
eb6fb63e74
Sort files in file picker by access, modification and creation date ( #336 )
...
* Sort files in file picker by access date
* Fallback file time to modified then created then UNIX_EPOCH
* Use `sort_by_key`
* Refactor
4 years ago
Nathan Vegdahl
d534d6470f
Detect file language before file indent style.
...
Fixes #378 . The issue was that because indent style detection
ran before language detection, there was no language indent
style to fall back on if indent style detection failed, so it
would just default to 2 spaces.
4 years ago
Gokul Soumya
e8d2f3612f
Use unicode_width to correctly truncate picker chars
4 years ago
teenjuna
c688288881
Move helix-view/tests/*txt files to txts subdirectory ( #372 )
...
* Move helix-view/tests/*txt files to txts subdirectory
* Rename tests/txts to tests/encoding
4 years ago
Blaž Hrastnik
f2d8ce3415
Use a deadline when eagerly processing notifications
4 years ago
Blaž Hrastnik
503ca112ae
fix: jumping to location did not convert the URI correctly
...
thus breaking Windows
4 years ago
Blaž Hrastnik
8e277ad8ba
fix: crossterm -> input key conversion
4 years ago
Keith Simmons
4418e17547
reverse the dependency between helix-tui and helix-view ( #366 )
...
* reverse the dependency between helix-tui and helix-view by moving a fiew types to view
* fix tests
* clippy and format fixes
Co-authored-by: Keith Simmons <keithsim@microsoft.com>
4 years ago