mirror of
https://github.com/zed-industries/zed.git
synced 2025-01-15 23:03:57 +00:00
3bebb8b401
On top of `editor::ScrollCursorCenter`, `editor::ScrollCursorTop`, `editor::ScrollCursorBottom` actions, adds an `editor::ScrollCursorCenterTopBottom` one, that allows using a single keybinding to scroll between positions on the screen. The implementation matches a corresponding Emacs feature: there's a timeout (1s) that is kept after every switch, to allow continuously changing the positions, center (initial) -> top -> bottom Scrolling behavior is the same as the existing actions (e.g. editor will ignore scroll to bottom, if there's not enough space above). After 1s, next position is reset to the initial, center, one. Release Notes: - Added an `editor::ScrollCursorCenterTopBottom` action for toggling scroll position with a single keybinding --------- Co-authored-by: Alex Kladov <aleksey.kladov@gmail.com> |
||
---|---|---|
.. | ||
display_map | ||
git | ||
scroll | ||
signature_help | ||
test | ||
actions.rs | ||
blame_entry_tooltip.rs | ||
blink_manager.rs | ||
debounced_delay.rs | ||
display_map.rs | ||
editor.rs | ||
editor_settings.rs | ||
editor_settings_controls.rs | ||
editor_tests.rs | ||
element.rs | ||
git.rs | ||
highlight_matching_bracket.rs | ||
hover_links.rs | ||
hover_popover.rs | ||
hunk_diff.rs | ||
indent_guides.rs | ||
inlay_hint_cache.rs | ||
inline_completion_provider.rs | ||
items.rs | ||
linked_editing_ranges.rs | ||
mouse_context_menu.rs | ||
movement.rs | ||
persistence.rs | ||
rust_analyzer_ext.rs | ||
scroll.rs | ||
selections_collection.rs | ||
signature_help.rs | ||
tasks.rs | ||
test.rs |