Max Brunsfeld
|
a2c9a67558
|
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 |
|
 
|
2b192ff9b3
|
Fix rounding error in computing editor's row range during layout
Co-authored-by: Nathan Sobo <nathan@zed.dev>
Co-authored-by: Antonio Scandurra <antonio@zed.dev>
|
2022-10-12 09:19:29 -07:00 |
|
Mikayla Maki
|
fa862550fd
|
Merge branch 'main' into test-branch
|
2022-10-11 19:55:32 -07:00 |
|
Max Brunsfeld
|
7a82fb7aaf
|
Impose min scrollbar height in a way that doesn't impede scrollbar's movement
Also, fix the editor's scroll max so that you can scroll to the last
display row.
|
2022-10-11 18:50:04 -07:00 |
|
Kay Simmons
|
394517dbc6
|
Merge pull request #1685 from zed-industries/vim-text-objects
Vim Text Objects and Numeric Repitions
|
2022-10-11 16:36:19 -07:00 |
|
Mikayla Maki
|
a9ce687031
|
Finished refactoring out fs and rope
|
2022-10-11 15:25:54 -07:00 |
|
Max Brunsfeld
|
245db0b084
|
Merge pull request #1715 from zed-industries/scrollbars
Add scrollbars
|
2022-10-11 13:34:15 -07:00 |
|
Max Brunsfeld
|
bf110bce35
|
Impose a minimum height on the scrollbar
|
2022-10-11 13:18:33 -07:00 |
|
Mikayla Maki
|
ffba611591
|
Added theme writing code, really bad race condition
|
2022-10-11 12:48:30 -07:00 |
|
Antonio Scandurra
|
8be22e9b6f
|
Merge pull request #1700 from zed-industries/room
Introduce call-based collaboration
|
2022-10-11 17:40:44 +01:00 |
|
Max Brunsfeld
|
71f4ef2e82
|
Refresh scrollbar auto-hide setting when opening a new editor
|
2022-10-11 09:28:17 -07:00 |
|
Max Brunsfeld
|
1a042ca098
|
Hide the scrollbar track, not just the thumb
|
2022-10-11 09:26:19 -07:00 |
|
Max Brunsfeld
|
4c9e2492a0
|
Enable/disable scrollbar auto-hide based on OS setting
|
2022-10-11 09:13:34 -07:00 |
|
 Antonio ScandurraandNathan Sobo
|
0486263204
|
Decide whether to clip to visible bounds on a per-element basis
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
|
2022-10-11 17:05:13 +02:00 |
|
Max Brunsfeld
|
8c7857f940
|
Auto-hide scrollbars
|
2022-10-10 17:54:29 -07:00 |
|
Max Brunsfeld
|
44f1162002
|
Represent scrollbar range with f32s
|
2022-10-10 17:06:48 -07:00 |
|
Max Brunsfeld
|
eee0e6dd14
|
Add scrollbars to editors
|
2022-10-10 16:20:47 -07:00 |
|
K Simmons
|
47def2b57d
|
Add assertion context manager to TestAppContext and convert existing vim tests to use neovim backed test context
|
2022-10-10 14:46:07 -07:00 |
|
Nathan Sobo
|
bd61a1041c
|
Fix tests by providing close: true
|
2022-10-10 15:29:24 -06:00 |
|
Nathan Sobo
|
0d85d9cc03
|
Don't autoclose brackets when is false
|
2022-10-10 15:15:43 -06:00 |
|
Mikayla Maki
|
440e145c17
|
Re-arrange how lines are set
|
2022-10-10 11:38:28 -07:00 |
|
Mikayla Maki
|
ea2bc26545
|
Implemented page up and page down for the editor
|
2022-10-09 19:19:40 -07:00 |
|
K Simmons
|
055a8fe14a
|
Fixed some neovim test context issues, added repeated commands in vim mode, and ported some tests to use the neovim testing strategy
|
2022-10-08 21:52:07 -07:00 |
|
K Simmons
|
bda6e5fdb7
|
Adds word and sentence text objects along with a new vim testing system which uses cached neovim data to verify our test accuracy
|
2022-10-08 21:51:49 -07:00 |
|
Max Brunsfeld
|
d77aa013a9
|
Merge pull request #1692 from zed-industries/avoid-duplicate-autoformat-edits
Avoid duplicate autoformat edits
|
2022-10-07 09:35:10 -07:00 |
|
Julia
|
26f308f6e4
|
Merge pull request #1682 from zed-industries/load-diff-base-from-correct-relative-path
Fix some git gutter bugs
|
2022-10-06 22:28:52 -04:00 |
|
 Max BrunsfeldandNathan Sobo
|
e6fe6c8122
|
Don't allow multiple concurrent formatting requests for the same buffer
Co-authored-by: Nathan Sobo <nathan@zed.dev>
|
2022-10-06 17:03:38 -07:00 |
|
Max Brunsfeld
|
b4bd9c3f6d
|
Fix multi-line string formatting in editor_test.rs
|
2022-10-06 15:13:29 -07:00 |
|
Max Brunsfeld
|
8df69c8613
|
Extract editor tests to their own file
|
2022-10-06 13:32:34 -07:00 |
|
Max Brunsfeld
|
428e05a5fa
|
Merge pull request #1404 from zed-industries/html-support
Basic html support
|
2022-10-06 10:32:44 -07:00 |
|
Julia
|
981253213d
|
Reload git index on file events to catch new contents
|
2022-10-06 12:01:21 -04:00 |
|
Max Brunsfeld
|
225f341f0a
|
Derive indent size from the language at the cursor when auto-indenting
|
2022-10-05 17:07:35 -07:00 |
|
Max Brunsfeld
|
fb39256ee5
|
Remove last usages of MultiBufferSnapshot::language
|
2022-10-05 14:44:34 -07:00 |
|
Max Brunsfeld
|
30cf42d108
|
Finish generalizing ToggleComments to support block comments
|
2022-10-05 12:25:32 -07:00 |
|
Max Brunsfeld
|
2a70aa2499
|
Start work on toggling block comments for HTML
|
2022-10-04 17:27:03 -07:00 |
|
 JuliaandJoseph Lyons
|
fe44ccb7fb
|
Use correct start row for hunk retrieval & correct paint offset
Co-Authored-By: Joseph Lyons <joseph@zed.dev>
|
2022-10-04 15:04:42 -04:00 |
|
Max Brunsfeld
|
9d35b3a73c
|
Fix autoclose error when cursor was at column 0
|
2022-10-03 17:44:18 -07:00 |
|
Mikayla Maki
|
bb80bd45bf
|
Removed debugs, simplified settings
|
2022-10-03 17:43:05 -07:00 |
|
Max Brunsfeld
|
b2af17d4e6
|
Add assertions to test for autoclose with embedded languages
|
2022-10-03 13:24:37 -07:00 |
|
Mikayla Maki
|
da143ae46a
|
made git diff rendering respect line wrap
|
2022-10-02 18:00:13 -07:00 |
|
Mikayla Maki
|
63747c8fee
|
made git stuff slightly more themable
|
2022-09-29 13:16:02 -04:00 |
|
Nate Butler
|
1456445f2a
|
wip
|
2022-09-29 13:16:02 -04:00 |
|
Nate Butler
|
22b1d0eae9
|
WIP Git gutter styling
|
2022-09-29 13:16:02 -04:00 |
|
 JuliaandMikayla Maki
|
1da2b63b97
|
Move git related things into specialized git crate
Co-Authored-By: Mikayla Maki <mikayla@zed.dev>
|
2022-09-29 13:16:02 -04:00 |
|
 JuliaandMikayla Maki
|
51d8a04748
|
WIP Notifying buffers of head text change
Co-Authored-By: Mikayla Maki <mikayla@zed.dev>
|
2022-09-29 13:16:02 -04:00 |
|
 
|
8f5a2a7a4f
|
Pull git indicator colors out of theme
Co-Authored-By: Kay Simmons <kay@zed.dev>
Co-Authored-By: Mikayla Maki <mikayla@zed.dev>
|
2022-09-29 13:16:02 -04:00 |
|
Julia
|
3eadb80c9a
|
Fully qualify outside git-related code when a diff is a git diff
|
2022-09-29 13:16:02 -04:00 |
|
Julia
|
6d23cbedc2
|
Properly invalidate when async git diff completes
|
2022-09-29 13:16:02 -04:00 |
|
Julia
|
8c17183c5a
|
Changed diffs to be async and dropped git delay
|
2022-09-29 13:16:02 -04:00 |
|
Julia
|
203d0b2770
|
Track buffer row divergence while iterating through diff lines
This allows for offsetting head row index of deleted lines to normalize
into buffer row space
|
2022-09-29 13:16:02 -04:00 |
|