Commit Graph
25009 Commits
Author SHA1 Message Date
Mikayla Maki 7e06c3d5ae Merge pull request #2233 from zed-industries/fix-code-folding-initialization
Initialize code fold indicators on buffer startup
2023-03-03 12:30:53 -08:00
Julia 7034f52c24 Merge pull request #2242 from zed-industries/mouse-event-handlers-yes
Fix surprising mouse propagation & avoid focusing tab while closing
2023-03-03 12:29:50 -08:00
Mikayla MakiandMax 4e49d06492 Add interactable fold markers
Change fold handlers to be driven by the fold map
Switch to a mouse region based implementation for click regions

Co-authored-by: Max <max@zed.dev>
2023-03-03 12:26:36 -08:00
JuliaandAntonio Scandurra a0c13929b3 Fix surprising mouse propagation & avoid focusing tab while closing
Co-Authored-By: Antonio Scandurra <me@as-cii.com>
2023-03-03 12:22:58 -08:00
Joseph T. Lyons 2dfd675e1c Merge pull request #2241 from zed-industries/joseph/z-223-add-terminal-button-to-status-bar
Add a terminal button to status bar
2023-03-03 12:15:59 -08:00
Max Brunsfeld 2dc8788321 Merge branch 'main' into no-panic-uploads-in-debug 2023-03-03 12:02:44 -08:00
Joseph LyonsandPetros Amoiridis d815be03fd Add a terminal button to status bar
Co-Authored-By: Petros Amoiridis <petros@hey.com>
2023-03-03 12:00:41 -08:00
Max Brunsfeld 2ddcfd8011 Merge pull request #2234 from zed-industries/error-on-combined-injections-in-injections
Fix range relativization when combined injections occur inside of other injections
2023-03-03 11:58:13 -08:00
Petros Amoiridis ac6c89f08d Merge pull request #2240 from zed-industries/petros/update-setup-instructions
Add missing steps to the setup instructions
2023-03-03 11:47:38 -08:00
Petros Amoiridis 6273ef1c1b Add missing steps to the setup instructions 2023-03-03 11:36:26 -08:00
Max Brunsfeld 3a1b0f66b7 Merge pull request #2236 from zed-industries/avoid-clobbering-panic-file
Avoid clobbering panic files when they happen at the same time
2023-03-03 11:15:48 -08:00
Max Brunsfeld 08509d03e0 Merge pull request #2227 from zed-industries/strip-trailing-whitespace
Add settings to normalize whitespace on save
2023-03-03 11:15:32 -08:00
Nate Butler ca057588a1 Fornat 2023-03-03 10:58:43 -08:00
Nate Butler 062ce12cf9 Hack to fix syntax.constructor causing TS error 2023-03-03 10:58:25 -08:00
Nate Butler c009a7fd23 Remove leftover log 2023-03-03 10:22:50 -08:00
Julia 0a3331056b Merge pull request #2238 from zed-industries/subpixel-variant-incorrectly-wrapping
Avoid wrapping to the 0th glyph variant when the 4th should be used
2023-03-03 13:13:34 -05:00
JuliaandAntonio Scandurra c29e4a2adf Avoid wrapping to the 0th glyph variant when the 4th should be used
Co-Authored-By: Antonio Scandurra <me@as-cii.com>
2023-03-03 10:04:44 -08:00
Nate Butler 8fc4755c76 Merge pull request #2237 from zed-industries/revert-2232-tab-bar-background-focus-drag
Revert "Avoid tab bar background activating an item at the end of a tab drag"
2023-03-03 09:49:55 -08:00
Nate Butler f0d00bce63 Revert "Avoid tab bar background activating an item at the end of a tab drag" 2023-03-03 09:47:58 -08:00
Mikayla MakiandMax e7c0a3418b Made fold inline styles be driven by the fold map
co-authored-by: Max <max@zed.dev>
2023-03-03 09:32:58 -08:00
Max BrunsfeldandAntonio Scandurra f40ccf2055 Avoid clobbering panic files when they happen at the same time
Co-authored-by: Antonio Scandurra <antonio@zed.dev>
2023-03-02 20:51:29 -08:00
Max Brunsfeld cdb838b200 Don't upload panic files when running in a PTY 2023-03-02 20:32:49 -08:00
Mikayla Maki 3766a1846d Merge pull request #2230 from zed-industries/fix-tab-x
Fix tab bar x
2023-03-02 19:48:08 -08:00
Mikayla Maki 0fbcffa80d Attempted to initialize code-fold indicators, does not work 2023-03-02 19:42:59 -08:00
Mikayla Maki 8041c65e23 Update tabBar.ts 2023-03-02 15:48:31 -08:00
Julia da83615eed Merge pull request #2232 from zed-industries/tab-bar-background-focus-drag
Avoid tab bar background activating an item at the end of a tab drag
2023-03-02 16:18:04 -05:00
Julia 2239ea1a46 Avoid tab bar background activating an item at the end of a tab drag 2023-03-02 13:06:58 -08:00
Mikayla Makiandnate 3b1b47918c Fix failing license
co-authored-by: nate <nate@zed.dev>
2023-03-02 12:32:47 -08:00
Max BrunsfeldandAntonio Scandurra 4781d70974 Fix range relativization when combined injections occur inside of other injections
For example, ERB template inside of a markdown code block

Co-authored-by: Antonio Scandurra <antonio@zed.dev>
2023-03-01 14:38:35 -08:00
Max Brunsfeld be1445076c Apply external command formatting if buffer has changed while computing it 2023-03-01 10:17:04 -08:00
Nate Butler 2d795dd1c6 Add Gruvbox syntax overrides 2023-03-01 11:49:13 -05:00
Nate Butler b80bde72c5 Init gruvbox theme 2023-03-01 10:16:45 -05:00
Mikayla Maki b0376f61b6 Seperate out x-mark width 2023-03-01 00:18:45 -08:00
Mikayla Maki c79a01ad4e Fix tab bar x 2023-02-28 22:48:31 -08:00
Max Brunsfeld fb6c6c4389 Perform whitespace formatting regardless of whether buffer has a language server or path 2023-02-28 21:52:00 -08:00
Max Brunsfeld 61cfa0751a adjust buffer-formatting assertion to reflect final newline addition 2023-02-28 21:52:00 -08:00
Max Brunsfeld e80e801b44 Avoid calling edits_since in apply_diff 2023-02-28 21:52:00 -08:00
Max Brunsfeld c6362e8cf6 Add a setting for ensuring a single final newline on save 2023-02-28 21:52:00 -08:00
Max Brunsfeld e4dc2de782 Avoid finalizing transactions inside Buffer::apply_diff 2023-02-28 21:52:00 -08:00
Max Brunsfeld e0c9010104 Add setting for removing trailing whitespace on save 2023-02-28 21:52:00 -08:00
Max Brunsfeld 19dc1a1b1e Add APIs for stripping trailing whitespace from a buffer 2023-02-28 21:52:00 -08:00
Mikayla Maki cd75e3d55a Merge pull request #2229 from zed-industries/fix-click-range-bug
Fix off by one error in click ranges
2023-02-28 20:33:00 -08:00
Mikayla Maki 25b742eb6e Fix off by one error in click ranges 2023-02-28 20:27:34 -08:00
Mikayla Maki 014c4e029f Merge pull request #2228 from zed-industries/make-folds-show-on-active-lines
Made code fold indicators show up on active line indicators
2023-02-28 20:01:09 -08:00
Mikayla Maki 91f1992c49 Made code fold indicators show up on active line indicators 2023-02-28 19:53:53 -08:00
Mikayla Maki 48d865f94f Merge pull request #2220 from zed-industries/add-fold-indicators
Add code folding indicators into the gutter.
2023-02-28 17:30:17 -08:00
Mikayla Maki 04afd15ecd Fix comments 2023-02-28 17:25:35 -08:00
Mikayla Maki 061af145d5 Update tests to use new fold indicator 2023-02-28 17:17:29 -08:00
Mikayla Maki 52e8e0e51e Removed DisplayRow abstraction 2023-02-28 17:12:48 -08:00
Mikayla Maki ab01c5c3ba Added background styling of the ... 2023-02-28 16:35:44 -08:00