-
543ebb7e4e
Adjust padding on sign in prompt in titlebar
Antonio Scandurra
2021-11-25 10:37:30 +01:00
-
0d8c68ae1d
Replace signed out silhouette with a "Sign in" label
Antonio Scandurra
2021-11-25 10:34:03 +01:00
-
-
c47855424f
Merge pull request #250 from zed-industries/go-to-line
Nathan Sobo
2021-11-24 17:15:52 -07:00
-
-
f7532c785e
Render the current line, column, and line count in go to line dialog
Nathan Sobo
2021-11-24 16:52:18 -07:00
-
a07fe3aa58
Improve styling of the go to line modal
Nathan Sobo
2021-11-24 16:16:29 -07:00
-
1e49b56626
Restore scroll position and selections when cancelling go-to-line
Nathan Sobo
2021-11-24 15:43:48 -07:00
-
8c0541b455
Fix warnings
Nathan Sobo
2021-11-24 15:24:27 -07:00
-
0854976691
Highlight the selected line when typing in the go to line dialog
Nathan Sobo
2021-11-24 15:23:45 -07:00
-
53a7da9d3f
Allow centering selections when requesting autoscroll
Antonio Scandurra
2021-11-24 19:50:47 +01:00
-
cea8107242
WIP: Start on go to line
Antonio Scandurra
2021-11-24 18:45:36 +01:00
-
-
a743c2d8d7
Merge pull request #249 from zed-industries/invert-workspace-editor-dependency
Antonio Scandurra
2021-11-24 17:54:28 +01:00
-
-
afdac15572
Move integration test up into the
zed crate
Antonio Scandurra
2021-11-24 17:39:15 +01:00
-
e88d3bb97e
Invert dependency between
editor and workspace

Antonio ScandurraandNathan Sobo
2021-11-24 17:07:16 +01:00
-
fb17d1ed3f
Merge pull request #248 from zed-industries/columnar-selection
Antonio Scandurra
2021-11-24 16:18:48 +01:00
-
-
2cf44d30b7
🔥

Antonio ScandurraandNathan Sobo
2021-11-24 16:17:41 +01:00
-
03bd6d6c33
Pull up diagnostic and cursor position status bar items creation
Antonio Scandurra
2021-11-24 16:04:24 +01:00
-
9bb195e177
Introduce "entry openers" but still register editors in
workspace
Antonio Scandurra
2021-11-24 15:18:15 +01:00
-
-
a7186c643f
Skip over block lines when building columnar selections
Antonio Scandurra
2021-11-24 10:40:06 +01:00
-
3a9b69077e
Reverse columnar selections when head moves before tail's column
Antonio Scandurra
2021-11-24 10:37:35 +01:00
-
d19d3bbe45
Calculate an overshoot when mousing to build columnar selections
Antonio Scandurra
2021-11-24 10:28:32 +01:00
-
2b9db911c7
WIP
Nathan Sobo
2021-11-23 18:01:05 -07:00
-
-
e0bf5337ca
Merge pull request #244 from zed-industries/mouse-selections
Nathan Sobo
2021-11-23 18:11:04 -07:00
-
-
a6e530511d
Merge pull request #243 from zed-industries/outdent
Max Brunsfeld
2021-11-23 16:56:54 -08:00
-
-
294769be35
Add outdent command, fix indent bugs
Max Brunsfeld
2021-11-23 16:44:05 -08:00
-
-
bfecdb7bc0
Remove newest selection when adding a selection with a click count > 1
Nathan Sobo
2021-11-23 16:30:33 -07:00
-
73afb29b04
Use alt modifier instead of cmd to add selections
Nathan Sobo
2021-11-23 16:23:30 -07:00
-
22172be2c0
Merge pull request #241 from zed-industries/toggle-comments
Max Brunsfeld
2021-11-23 15:15:28 -08:00
-
-
9e651ee127
Simplify handling of shift-click to extend selections
Nathan Sobo
2021-11-23 16:03:21 -07:00
-
d969f38850
Implement shift-click to extend the newest selection
Nathan Sobo
2021-11-23 15:42:21 -07:00
-
f0db748ba1
Implement toggle-comments
Max Brunsfeld
2021-11-23 14:13:28 -08:00
-
-
2e2bce7322
Merge pull request #238 from zed-industries/maximize-window
Max Brunsfeld
2021-11-23 10:37:18 -08:00
-
-
091ed9ab47
Maximize new windows
Max Brunsfeld
2021-11-23 10:13:08 -08:00
-
-
63089badf1
Simulate line-wise selection when clicking on the gutter
Antonio Scandurra
2021-11-23 19:14:39 +01:00
-
7a79df7a24
Implement line-wise selection
Antonio Scandurra
2021-11-23 19:10:15 +01:00
-
bcf38e6bb5
Implement word-wise mouse selection

Antonio ScandurraandNathan Sobo
2021-11-23 18:50:17 +01:00
-
a0287920e5
Remove cargo-bundle from dev-dependencies
Max Brunsfeld
2021-11-23 09:25:22 -08:00
-
3269b9925f
WIP: Start integrating
SelectMode and movement::surrounding_word
Antonio Scandurra
2021-11-23 17:04:58 +01:00
-
a0ea5b38a0
Add a new
movement::surrounding_word function
Antonio Scandurra
2021-11-23 16:19:11 +01:00
-
005a7076af
Expose a
count field on Event::LeftMouseDown
Antonio Scandurra
2021-11-23 16:18:17 +01:00
-
-
e1d4bcf013
Merge pull request #236 from zed-industries/soft-wrap-flaky-test
Antonio Scandurra
2021-11-23 11:46:37 +01:00
-
-
6b7ee10287
Retry flaky
test_soft_wraps 5 times before giving up
Antonio Scandurra
2021-11-23 11:25:04 +01:00
-
-
6df266348e
Merge pull request #235 from zed-industries/handle-screen-scale-factor-change
Antonio Scandurra
2021-11-23 11:15:18 +01:00
-
-
4002be882f
Clear sprite cache when scale factor changes
Max Brunsfeld
2021-11-22 16:47:51 -08:00
-
23fbeaf978
Include scale factor in glyph cache keys
Max Brunsfeld
2021-11-22 16:37:01 -08:00
-
-
66e27b7420
Merge pull request #233 from zed-industries/fix-split-selection-into-lines
Max Brunsfeld
2021-11-22 16:25:19 -08:00
-
-
ce71ed3959
Adjust assertion in test for split_selection_into_lines
Max Brunsfeld
2021-11-22 16:19:24 -08:00
-
843972ceca
Merge pull request #232 from zed-industries/uniform-bias
Nathan Sobo
2021-11-22 15:55:03 -07:00
-
-
68223bdb67
Place the cursor at end of first line when splitting selections into lines
Nathan Sobo
2021-11-22 15:53:37 -07:00
-
-
-
2f39dee28b
Use uniform biases in AnchorMap, AnchorRangeMap
Nathan Sobo
2021-11-22 15:30:46 -07:00
-
-
612b4404a9
Fix the bias of deserialized selection sets

Max BrunsfeldandNathan Sobo
2021-11-22 14:14:48 -08:00
-
cfe6103daf
Fix selection set id mismatch when rendering guest selections

Max BrunsfeldandNathan Sobo
2021-11-22 14:10:17 -08:00
-
ca4086b844
0.8.0
Max Brunsfeld
2021-11-22 13:33:54 -08:00
-
c13a26ff7b
Bump RPC protocol version
Max Brunsfeld
2021-11-22 13:33:05 -08:00
-
cfaab6cfb6
Merge pull request #228 from zed-industries/faster-clock-global
Max Brunsfeld
2021-11-22 13:31:27 -08:00
-
-
b621c9b857
Merge pull request #230 from zed-industries/rpc-write-timeout
Max Brunsfeld
2021-11-22 13:31:08 -08:00
-
-
7474813a17
Impose a timeout on writing RPC messages

Max BrunsfeldandNathan Sobo
2021-11-22 13:23:55 -08:00
-
-
b25c3eb740
Switch to a dense representation for
clock::Global

Antonio ScandurraandNathan Sobo
2021-11-22 17:20:43 +01:00
-
-
447f710570
Merge pull request #226 from zed-industries/1d-block-map
Max Brunsfeld
2021-11-19 09:16:49 -08:00
-
-
6f5ca6064b
Use
anchor_after in randomized tests to match BlockMap
Antonio Scandurra
2021-11-19 18:04:31 +01:00
-
c844fcdc09
Invalidate active diagnostic when its primary range collapses

Antonio ScandurraandNathan Sobo
2021-11-19 16:38:23 +01:00
-
b0afc80678
Ignore diagnostics with empty ranges

Antonio ScandurraandNathan Sobo
2021-11-19 16:30:26 +01:00
-
a023950f28
Remove unused
group_range field

Antonio ScandurraandNathan Sobo
2021-11-19 16:17:50 +01:00
-
8e74cc178e
Invalidate active diagnostics when they are removed

Antonio ScandurraandNathan Sobo
2021-11-19 16:15:22 +01:00
-
61d8848b31
Make
BlockMap::sync private

Antonio ScandurraandNathan Sobo
2021-11-19 15:44:19 +01:00
-
dfbfa86548
WIP
Antonio Scandurra
2021-11-19 15:31:33 +01:00
-
2664dad2bc
Allow styling of invalid diagnostics

Antonio ScandurraandNathan Sobo
2021-11-19 14:35:00 +01:00
-
8d5e3fb159
Allow styling of the gutter for block lines
Antonio Scandurra
2021-11-19 11:29:10 +01:00
-
8d1a4a6a24
Start work on allowing blocks to be styled
Max Brunsfeld
2021-11-18 18:16:35 -08:00
-
c04151f999
Bind ShowNextDiagnostic to f8
Max Brunsfeld
2021-11-18 14:23:53 -08:00
-
0b63d882ce
Allow key bindings to F1 through F12
Max Brunsfeld
2021-11-18 14:23:36 -08:00
-
6aa346dec8
Fix switched input + output rows in BlockSnapshot::buffer_rows
Max Brunsfeld
2021-11-18 12:41:58 -08:00
-
bef09696f6
Align block text with the anchor's column


2021-11-18 12:17:22 -08:00
-
1a8b23e118
Color diagnostic messages based on their severity

Antonio ScandurraandNathan Sobo
2021-11-18 17:47:10 +01:00
-
f39942863b
Dismiss active diagnostics when hitting escape

Antonio ScandurraandNathan Sobo
2021-11-18 16:57:05 +01:00
-
5094380c83
Enhance keyboard navigation when showing next diagnostic

Antonio ScandurraandNathan Sobo
2021-11-18 16:55:18 +01:00
-
643545e91e
When showing the next diagnostic, advance to the next *primary* one

Antonio ScandurraandNathan Sobo
2021-11-18 16:04:16 +01:00
-
0e51365770
In a diagnostic group, mark the highest-severity diagnostic as primary

Antonio ScandurraandNathan Sobo
2021-11-18 15:53:00 +01:00
-
401b59be5c
Refactor retrieving oldest and newest selection

Antonio ScandurraandNathan Sobo
2021-11-18 15:04:12 +01:00
-
0a6293bcda
Support highlighting in blocks

Antonio ScandurraandNathan Sobo
2021-11-18 14:08:21 +01:00
-
0f1eb3dd2e
Skip block lines when moving up and down

Antonio ScandurraandNathan Sobo
2021-11-18 13:45:06 +01:00
-
856768a43c
Remove aggressive logging from
WrapMap update code paths
Antonio Scandurra
2021-11-18 11:13:40 +01:00
-
08e0444ee4
Use char count instead of byte count to determine longest row
Antonio Scandurra
2021-11-18 11:01:12 +01:00
-
b80887dabe
Don't insert blocks within multi-byte characters in randomized test
Antonio Scandurra
2021-11-18 10:49:08 +01:00
-
572e571927
Test longest row only when tabs are not present or the tab size is 1
Antonio Scandurra
2021-11-18 10:41:47 +01:00
-
5a9dea5299
Ensure
TabMap works correctly when there are folds
Antonio Scandurra
2021-11-18 10:36:07 +01:00
-
9ba24794c7
Re-enable tabs, spaces and multi-byte characters in randomized tests
Antonio Scandurra
2021-11-18 10:35:31 +01:00
-
84d257470a
Fix empty range edge case in
FoldMap
Antonio Scandurra
2021-11-18 10:33:31 +01:00
-
4967a8d5ef
Trim expanded tabs if they overshoot the provided range
Antonio Scandurra
2021-11-18 09:52:42 +01:00
-
b10c82c015
Stop at
range.end when computing text summary for range in TabMap
Antonio Scandurra
2021-11-18 09:52:05 +01:00
-
213aa36e1c
WIP: Track down bugs with longest_row on wrap map

Nathan SoboandMax Brunsfeld
2021-11-17 19:45:56 -07:00
-
c5956a0363
Start at the end of the last transform when catching up to edits during wrapping

Nathan SoboandMax Brunsfeld
2021-11-17 19:44:17 -07:00
-
8230dd9a3b
WIP - BlockSnapshot::longest_row
Max Brunsfeld
2021-11-17 15:33:02 -08:00
-
cb18131432
Represent scroll position correctly when scrolled mid-block

Max BrunsfeldandNathan Sobo
2021-11-17 14:56:55 -08:00
-
707ffe8ff3
Implement BlockSnapshot::line_len, use it in DisplayMap

Max BrunsfeldandNathan Sobo
2021-11-17 14:56:05 -08:00
-
00b5cc472e
Fix BlockSnapshot::chunks when starting in a block

Max BrunsfeldandNathan Sobo
2021-11-17 14:54:47 -08:00
-
1c3bf90a8a
Reimplement BlockSnapshot::{clip_point,to_block_point,max_point}

Max BrunsfeldandNathan Sobo
2021-11-17 12:54:14 -08:00
-
e60500dd7c
Re-enable soft-wrapping in randomized tests


2021-11-17 19:46:43 +01:00
-
88d0c04444
Implement
BlockSnapshot::buffer_rows


2021-11-17 19:45:06 +01:00
-
198f6694b7
Use options to represent soft-wrapped buffer rows


2021-11-17 19:30:40 +01:00
-
d9283efbe6
Make
BlockMap 1d


2021-11-17 19:26:57 +01:00