Kay Simmons
|
fc811d14b1
|
Fix failing test
|
2023-02-17 22:00:39 -08:00 |
|
Kay Simmons
|
57a7ff9a6f
|
fix vim percent motion to better match the docs and observed behavior
|
2023-02-17 14:55:19 -08:00 |
|
Kay Simmons
|
eac33d732e
|
wip
|
2023-02-16 12:23:45 -08:00 |
|
Kay Simmons
|
30caeeaeb5
|
fix comment typo
|
2023-02-15 14:11:00 -08:00 |
|
Kay Simmons
|
0ba051a754
|
use more predictable rules for selecting which bracket to jump to and where
|
2023-02-15 14:04:16 -08:00 |
|
Max Brunsfeld
|
2967b46a17
|
Implement scope-specific bracket matching and comment toggling
Co-authored-by: Julia Risley <julia@zed.dev>
|
2023-01-19 15:04:27 -08:00 |
|
Max Brunsfeld
|
1851e2e77c
|
Start work on language config overrides
Co-authored-by: Julia Risley <julia@zed.dev>
|
2023-01-19 12:32:08 -08:00 |
|
Antonio Scandurra
|
a58b39f884
|
Merge branch 'main' into optimize-large-multi-buffers
|
2023-01-19 16:18:21 +01:00 |
|
Antonio Scandurra
|
c124caeb0d
|
Add test for stream_excerpts_with_context_lines
|
2023-01-19 15:54:32 +01:00 |
|
Antonio Scandurra
|
5ce065ac92
|
Introduce MultiBuffer::stream_excerpts_with_context_lines
This allows us to push excerpts in a streaming fashion without blocking
the main thread.
|
2023-01-19 15:42:14 +01:00 |
|
Max Brunsfeld
|
292708573f
|
Replace MultiBuffer::files with ::for_each_buffer
|
2023-01-17 16:16:44 -08:00 |
|
Max Brunsfeld
|
c321f5d94a
|
Assert that buffers' file state matches in randomized collab test
Co-authored-by: Nathan Sobo <nathan@zed.dev>
|
2022-12-21 15:38:44 -08:00 |
|
Antonio Scandurra
|
47348542ef
|
Synchronize buffers when either the host or a guest reconnects
|
2022-12-21 14:20:56 +01:00 |
|
Julia
|
de9c58d216
|
Merge pull request #1983 from zed-industries/multi-buffer-git-gutter
Multi buffer git gutter
|
2022-12-19 10:53:42 -05:00 |
|
Julia
|
ebd0c5d000
|
Handle reversed=true for multi-buffer git-hunks-in-range iteration
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
|
2022-12-15 18:17:32 -05:00 |
|
Julia
|
f88b413f6a
|
Rewrite multi-buffer aware git hunks in range to be more correct
Less ad-hoc state tracking, rely more on values provided by the
underlying data
Co-Authored-By: Max Brunsfeld <max@zed.dev>
|
2022-12-15 17:09:09 -05:00 |
|
Julia
|
0dedc1f3a4
|
Get tests building again
|
2022-12-15 00:17:28 -05:00 |
|
Julia
|
cf72173282
|
Clamp end of visual git hunk to requested range
|
2022-12-13 13:58:50 -05:00 |
|
Julia
|
7c3dc1e3dc
|
Cleanup
|
2022-12-13 12:35:58 -05:00 |
|
Julia
|
00b7c78e33
|
Initial hacky displaying of git gutter in multi-buffers
|
2022-12-13 12:35:58 -05:00 |
|
Max Brunsfeld
|
6120d6488b
|
Start work on following in multi-buffers
|
2022-11-29 14:50:43 -08:00 |
|
Max Brunsfeld
|
6d9b55a654
|
Send full multibuffer anchors to following peers
|
2022-11-28 18:00:38 -08:00 |
|
Max Brunsfeld
|
3eac3e20d5
|
Emit events from a multibuffer when adding/removing excerpts
|
2022-11-28 17:57:55 -08:00 |
|
Max Brunsfeld
|
718f802157
|
Implement Copy for multibuffer anchors
|
2022-11-28 14:18:49 -08:00 |
|
Max Brunsfeld
|
f71145bb32
|
Add a layer of indirection between excerpt ids and locators
|
2022-11-28 14:18:49 -08:00 |
|
Julia
|
03cfd23ac5
|
Bump protocol version back down as proto changes are non-breaking
|
2022-11-23 13:40:49 -05:00 |
|
Julia
|
e51cbf67ab
|
Fixup compile errors
|
2022-11-22 02:49:47 -05:00 |
|
Julia
|
436c89650a
|
Rename clamped -> clipped
|
2022-11-21 15:23:00 -05:00 |
|
Julia
|
074e3cfbd6
|
Clamp UTF-16 to point conversions
|
2022-11-21 14:25:01 -05:00 |
|
Julia
|
c4b21a0ab5
|
Add action to go to next/previous git diff in editor
Co-Authored-By: Kay Simmons <kay@zed.dev>
|
2022-10-28 15:08:13 -04:00 |
|
K Simmons
|
40c3e925ad
|
Add cursor blink setting and replicate cursor shape to remote collaborators
|
2022-10-17 16:20:47 -07:00 |
|
Julia
|
2149c17a0a
|
Merge pull request #1768 from zed-industries/git-gutter-meets-code-folding
Git gutter meets code folding (and word wrap fixes)
|
2022-10-17 14:51:47 -04:00 |
|
Julia
|
9c47325c25
|
Use correct range to get diff hunks in the presence of wrapped lines
|
2022-10-13 13:52:44 -04:00 |
|
Max Brunsfeld
|
6cdf4e98fc
|
Re-export basic text types from text and language crates
Also avoid production dependencies on fs and rope in collab
|
2022-10-12 15:48:19 -07:00 |
|
Mikayla Maki
|
0beb97547e
|
Finished refactoring out fs and rope
|
2022-10-11 15:25:54 -07:00 |
|
Max Brunsfeld
|
51fa06cc8d
|
Merge pull request #1404 from zed-industries/html-support
Basic html support
|
2022-10-06 10:32:44 -07:00 |
|
Max Brunsfeld
|
7fb5fe036a
|
Derive indent size from the language at the cursor when auto-indenting
|
2022-10-05 17:07:35 -07:00 |
|
Max Brunsfeld
|
8b86781ad1
|
Remove last usages of MultiBufferSnapshot::language
|
2022-10-05 14:44:34 -07:00 |
|
Julia
|
d5fd531743
|
Move git related things into specialized git crate
Co-Authored-By: Mikayla Maki <mikayla@zed.dev>
|
2022-09-29 13:16:02 -04:00 |
|
Julia
|
7e5d49487b
|
WIP Notifying buffers of head text change
Co-Authored-By: Mikayla Maki <mikayla@zed.dev>
|
2022-09-29 13:16:02 -04:00 |
|
Julia
|
b18dd8fcff
|
Fully qualify outside git-related code when a diff is a git diff
|
2022-09-29 13:16:02 -04:00 |
|
Julia
|
9c82954877
|
Changed diffs to be async and dropped git delay
|
2022-09-29 13:16:02 -04:00 |
|
Julia
|
883d5b7a08
|
Update git gutter status after debounced delay
Co-authored-by: Max Brunsfeld <max@zed.com>
|
2022-09-29 13:16:02 -04:00 |
|
Julia
|
55ca02351c
|
Start painting some sort of hunk info, it's wrong but it's close
Co-Authored-By: Max Brunsfeld <max@zed.dev>
|
2022-09-29 13:16:01 -04:00 |
|
Max Brunsfeld
|
67e188a015
|
Add Buffer::language_at, update MultiBuffer to use it
Co-authored-by: Julia Risley <floc@unpromptedtirade.com>
|
2022-09-28 12:32:04 -07:00 |
|
Antonio Scandurra
|
f0d35ccc50
|
Move operation serialization off the main thread
|
2022-08-23 16:34:25 +02:00 |
|
Antonio Scandurra
|
954695f5fe
|
Stream buffer ops in the background when creating buffer for peers
|
2022-08-23 16:05:56 +02:00 |
|
ForLoveOfCats
|
8ba2f77148
|
One big cleanup pass of clippy lints
Co-authored-by: Mikayla <mikayla@zed.dev>
|
2022-08-10 16:51:01 -07:00 |
|
Max Brunsfeld
|
115677ec5d
|
Start work on auto-indenting lines on tab
Co-authored-by: Julia Risley <floc@unpromptedtirade.com>
|
2022-08-01 16:47:59 -07:00 |
|
Max Brunsfeld
|
868c460620
|
🎨 Rename and simplify some autoindent stuff
|
2022-07-28 22:40:30 -07:00 |
|