Commit log

bd62a68 Eliminate ElementStateContext trait

Click to expand commit body
We now always have a RenderContext when rendering MouseEventHandlers or scrollable Flex columns/rows.

Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>

Nathan Sobo and Max Brunsfeld created

b6b16fc In UniformList, guard against misbehavior of append_items

Click to expand commit body
If for some reason the handle got dropped and we call it, we'll deal with it somewhat gracefully.

Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>

Nathan Sobo and Max Brunsfeld created

8dd82fd Take a RenderContext in ListState's build item callback

Click to expand commit body
Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>

Nathan Sobo and Max Brunsfeld created

2ea085b Pass a RenderContext to UniformList

Click to expand commit body
In some cases, we need to render during layout. Previously, we were rendering with a LayoutContext in some cases, but this commit adds the ability to retrieve a render context with a given handle and we use that feature in UniformList.

Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>

Nathan Sobo and Max Brunsfeld created

8e7c687 Track selection changes in mutable selections collection

Keith Simmons created

42cd2ae Avoid switching to visual mode when following in vim mode

Click to expand commit body
Co-authored-by: Keith Simmons <keith@zed.dev>

Max Brunsfeld and Keith Simmons created

c53412e Bump protocol version

Max Brunsfeld created

d11bc2a Fixup paste locations

Keith Simmons created

e104cb9 fix bug in marked_range utils

Keith Simmons created

98f9575 WIP

Keith Simmons created

e93c49f Unify visual line_mode and non line_mode operators

Keith Simmons created

11569a8 in progress working on aborting operators on unhandled editor input

Keith Simmons created

61f0daa Visual line mode handles soft wraps

Keith Simmons created

33940b5 Add visual line mode operator tests

Keith Simmons created

0820361 Enable copy and paste in vim mode

Keith Simmons created

d094d1d WIP copy on delete

Keith Simmons created

f8f316c Working change and delete in line mode

Keith Simmons created

d7d17b2 WIP line mode operations

Keith Simmons created

8044586 Merge pull request #1070 from zed-industries/fix-seed-script

Click to expand commit body
Fix failing seed bin build and add bin builds to ci pipeline

Keith Simmons created

125d83b Fix failing seed bin build and add bin builds to ci pipeline

Keith Simmons created

d697765 Add mouse_state method to RenderContext

Click to expand commit body
We can use this to determine if a region is hovered or clicked.

Nathan Sobo created

3a59d2a Allow hovered and clicked mouse regions to be tracked in the presenter

Nathan Sobo created

0866f0e Introduce CursorRegion struct

Click to expand commit body
This will blend in with an upcoming MouseRegion struct that sits next to it in the scene.

Co-Authored-By: Antonio Scandurra <me@as-cii.com>

Nathan Sobo and Antonio Scandurra created

eedb299 Implement `CopyPath`

Antonio Scandurra created

5b2d6e4 Introduce keyboard navigation in context menus

Antonio Scandurra created

991eb74 Start adding project panel context menu actions

Antonio Scandurra created

82ddac8 Restore focus when closing context menu

Antonio Scandurra created

a5044cc WIP

Antonio Scandurra created

580f1a4 Style context menu

Antonio Scandurra created

c0aafac Put keystrokes in their own column

Click to expand commit body
This requires rendering the menu for measurement in a totally different way, where the top level is a flex row. We don't want to render the menu like this for presentation because of hovers / highlights on individual items needing to include the keystrokes.

Co-Authored-By: Antonio Scandurra <me@as-cii.com>

Nathan Sobo and Antonio Scandurra created

a8483ba WIP

Antonio Scandurra created

85ed7b4 Select right-clicked entry before deploying context menu

Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>

Antonio Scandurra and Nathan Sobo created

3b2f164 Constrain context menu to the width of the widest item

Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>

Antonio Scandurra and Nathan Sobo created

f403d87 WIP

Antonio Scandurra created

dcee843 Start on context_menu crate

Nathan Sobo created

b428d0d Break context menu items out in theme

Nathan Sobo created

6b96822 Fix editor tests

Nathan Sobo created

5b7825d Add MutableAppContext::keystrokes_for_action

Click to expand commit body
This can be used to lookup keystrokes that will dispatch an action based on the currently focused view. There might be multiple, but we return the first found, meaning the most recently added bindings matching that action for the closest view to the focused view in the hierarchy.

Nathan Sobo created

b110fd5 Render a context menu when right-clicking in project panel

Click to expand commit body
It doesn't currently do anything, but I managed to get it rendering in an absolutely positioned way.

Nathan Sobo created

f4d13ef Merge pull request #1068 from zed-industries/collab-snapshots

Click to expand commit body
Implement /rpc_server_snapshot endpoint in collab server API

Antonio Scandurra created

3ac6fc8 Pretty-print JSON of server snapshot

Antonio Scandurra created

742dd75 Implement /rpc_server_snapshot endpoint

Click to expand commit body
This returns a JSON snapshot of the state of the server

Nathan Sobo created

6a32d55 Merge pull request #1065 from zed-industries/fix-build-script

Click to expand commit body
Fix theme build issue in build.rs

Nathan Sobo created

42e88c4 Use npm install rather than ci and only run build.rs when styles/src is changed rather than all styles

Keith Simmons created

d602411 Merge pull request #1060 from zed-industries/fix-disconnected-message

Click to expand commit body
Fix disconnected from project message

Nate Butler created

db0c2f2 Fix disconnected from project message

Nate Butler created

6a8fe60 Merge pull request #1059 from zed-industries/fix-theme-occurence-color

Click to expand commit body
fix theme occurrence color

Nate Butler created

e390896 Merge pull request #1048 from zed-industries/onMedia-theme-text-color

Click to expand commit body
Add onMedia text color for use in disconnect overlay text

Nate Butler created

d0f0013 fix theme occurence color

Nate Butler created

1f91e4c Merge pull request #1054 from zed-industries/abruzzo-theme

Click to expand commit body
Add Abruzzo Dark color theme

Isaac Clayton created