ZIm/docs/src
Carlos Kieliszewski ed3e647ed7
editor: Add horizontal scrollbar (#19495)
![editor_scrollbars](https://github.com/user-attachments/assets/76c26776-8fe4-47f8-9c79-9add7d7d2151)

Closes #4427 

Release Notes:

- Added a horizontal scrollbar to the editor panel
- Added `axis` option to `scrollbar` in the Zed configuration, which can
forcefully disable either the horizontal or vertical scrollbar
- Added `horizontal_scroll_margin` equivalent to
`vertical_scroll_margin` in the Zed configuration

Rough Edges:

This feature seems mostly stable from my testing. I've been using a
development build for about a week with no issues. Any feedback would be
appreciated. There are a few things to note as well:

1. Scrolling to the lower right occasionally causes scrollbar clipping
on my end, but it isn't consistent and it isn't major. Some more testing
would definitely be a good idea. [FIXED]
2. Documentation may need to be modified
3. I added an `AxisPair` type to the `editor` crate to manage values
that have a horizontal and vertical variant. I'm not sure if that's the
optimal way to do it, but I didn't see a good alternative. The `Point`
type would technically work, but it may cause confusion.

---------

Co-authored-by: Piotr Osiewicz <24362066+osiewicz@users.noreply.github.com>
2024-12-17 17:24:59 +01:00
..
assistant docs: Add x.ai Grok example (#21655) 2024-12-06 13:59:40 -05:00
development docs: Add clarification in Windows build instructions (#21659) 2024-12-06 15:19:36 -05:00
extensions docs: Use preferred languages instead of deprecated language field (#22107) 2024-12-16 16:11:32 -05:00
languages docs: Suggest installing PHP to use PHP (#22058) 2024-12-16 01:21:20 -05:00
additional-learning-materials.md update docs content (#11374) 2024-05-03 16:24:04 -06:00
channels.md Docs Party 2024 (#15876) 2024-08-09 13:37:54 -04:00
collaboration.md Docs Party 2024 (#15876) 2024-08-09 13:37:54 -04:00
completions.md docs: Improve dark mode syntax highlighting (#18002) 2024-09-18 09:14:03 -03:00
configuring-languages.md Add per-language settings show_completions_on_input and show_completion_documentation (#21722) 2024-12-09 11:53:50 -07:00
configuring-zed.md editor: Add horizontal scrollbar (#19495) 2024-12-17 17:24:59 +01:00
development.md Remove community content from docs and point to zed.dev (#19895) 2024-10-29 09:44:58 -04:00
environment.md docs: Fix typo in environment documentation (#19164) 2024-10-13 16:47:09 -04:00
extensions.md docs: Add docs for defining slash commands in extensions (#16303) 2024-08-15 12:50:30 -04:00
fonts.md Fix casing of "macOS" (#17040) 2024-08-28 19:10:49 -04:00
getting-started.md Fix casing of "macOS" (#17040) 2024-08-28 19:10:49 -04:00
git.md docs: Update names of supported Git providers (#17436) 2024-09-05 13:42:49 -04:00
globs.md Glob documentation (#18789) 2024-10-15 17:21:04 -04:00
key-bindings.md Make use_key_equivalents opt-in (#21662) 2024-12-06 14:05:03 -07:00
languages.md docs: Add Ansible language documentation (#20087) 2024-11-05 13:57:15 -05:00
linux.md docs: Linux XDG desktop secrets portals 2024-10-04 14:13:07 -04:00
multibuffers.md Fix a typo in the multi buffers documentation (#18535) 2024-09-30 15:28:46 +03:00
outline-panel.md docs: Add tweaks to the outline panel page (#18697) 2024-10-03 12:27:42 -03:00
remote-development.md Fix stale Discord invite links (#21074) 2024-11-22 21:10:51 +00:00
repl.md docs: Add tweaks to the REPL page (#18000) 2024-09-18 07:34:39 -03:00
snippets.md Add minimal snippets documentation (#14992) 2024-07-22 21:18:39 -04:00
SUMMARY.md docs: Document context servers (#21170) 2024-11-25 11:05:14 -05:00
system-requirements.md Update system-requirements.md 2024-07-11 11:59:52 -07:00
tasks.md Allow splitting terminal items in the central pane group (#22088) 2024-12-16 19:23:01 +02:00
telemetry.md Stop sending data to Clickhouse (#21763) 2024-12-10 08:47:29 -07:00
themes.md docs: Example theme_overrides for docstrings as italic (#19694) 2024-10-24 14:37:57 -04:00
vim.md docs: Fix shortcut for select a smaller syntax node (#22135) 2024-12-17 14:13:10 +02:00
windows.md Fix stale Discord invite links (#21074) 2024-11-22 21:10:51 +00:00