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>
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
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>
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