Antonio Scandurra
|
b980b11053
|
Implement whole word mode
|
2022-01-28 11:48:04 +01:00 |
|
Antonio Scandurra
|
2b31a48ef9
|
Clip right when moving to next word in case we land on a block line
|
2022-01-04 15:17:37 +01:00 |
|
Antonio Scandurra
|
eec1748dc7
|
Render excerpt headers using DisplayMap::insert_blocks
Co-Authored-By: Max Brunsfeld <max@zed.dev>
|
2021-12-21 18:32:27 +01:00 |
|
Max Brunsfeld
|
38df091b06
|
Fix up/down movement across excerpt headers
Implement these movements in terms of clipping, instead of with explicit loops
|
2021-12-16 11:16:48 -08:00 |
|
Nathan Sobo
|
c8b43e3078
|
Move multi_buffer to editor crate
|
2021-12-10 17:37:53 -07:00 |
|
Nathan Sobo
|
87d16c271e
|
Get Editor compiling with MultiBuffer as its buffer
There's a bunch of unimplemented methods in MultiBuffer, but everything compiles.
Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>
|
2021-12-08 19:23:04 -07:00 |
|
Max Brunsfeld
|
fa379885f1
|
Give more specific names to all snapshot and text iterator types
|
2021-12-08 09:24:00 -08:00 |
|
Max Brunsfeld
|
924e1578ea
|
Use &Snapshot directly instead of impl Into<Content<'a>>
The text::Buffer and its snapshot already used the same representation
for their content, so we can just make Buffer deref to a Snapshot.
|
2021-11-30 13:32:11 -08:00 |
|
Nathan Sobo
|
d3f28166cb
|
Rename buffer crate to text and name its entrypoint after the crate
Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>
|
2021-11-30 12:26:12 -07:00 |
|
Antonio Scandurra
|
7a79df7a24
|
Implement line-wise selection
|
2021-11-23 19:10:15 +01:00 |
|
Antonio Scandurra
|
bcf38e6bb5
|
Implement word-wise mouse selection
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
|
2021-11-23 18:50:17 +01:00 |
|
Antonio Scandurra
|
a0ea5b38a0
|
Add a new movement::surrounding_word function
|
2021-11-23 17:04:37 +01:00 |
|
Antonio Scandurra
|
0f1eb3dd2e
|
Skip block lines when moving up and down
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
|
2021-11-18 13:45:06 +01:00 |
|
Max Brunsfeld
|
1d97f08901
|
Move editor into its own crate
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
|
2021-10-04 15:23:10 -07:00 |
|