Files
oak-gpui/crates
Andrew Lygin 8e92f19fed editor: Current line highlight options (#11710)
None:

<img width="717" alt="none"
src="https://github.com/zed-industries/zed/assets/2101250/b2a741db-c64a-4275-a612-5a0d15c9cab7">

Gutter:

<img width="715" alt="gutter"
src="https://github.com/zed-industries/zed/assets/2101250/f7a68a6e-6eba-41b4-9042-5a5fe2ee21a4">

Line:

<img width="717" alt="line"
src="https://github.com/zed-industries/zed/assets/2101250/117f5b00-abd7-425b-8047-1a6fab8293a7">

All:

<img width="715" alt="all"
src="https://github.com/zed-industries/zed/assets/2101250/ebccc0da-0fa0-44e5-903c-cc49d975db76">

This PR adds the `current_line_highlight` setting that defines how to
highlight the current line in the editor:

- `none`: Don't highlight the current line.
- `gutter`: Highlight the gutter area only.
- `line`: Highlight the editor area only.
- `all` (default): Highlight the whole line.

The options have been borrowed from VSCode.

Fixes #5222
Part of #4382

Release Notes:

- Added the `current_line_highlight` setting that defines how to
highlight the current line in the editor (#5222).
2024-05-13 22:02:12 +03:00
..
2024-05-10 15:50:20 -06:00
2024-05-10 15:50:20 -06:00
2024-05-10 15:50:20 -06:00
2024-05-10 15:50:20 -06:00
2024-05-09 21:08:49 -06:00
2024-05-10 15:50:20 -06:00
2024-05-10 15:50:20 -06:00
2024-05-10 15:50:20 -06:00
2024-05-10 15:50:20 -06:00
2024-04-23 13:31:21 -04:00
2024-05-10 15:50:20 -06:00
2024-03-28 18:32:11 +01:00
2024-04-11 15:36:35 -06:00
2024-05-10 15:50:20 -06:00
2024-05-09 21:08:49 -06:00
2024-04-30 23:31:59 -06:00
2024-05-10 15:50:20 -06:00
2024-05-10 15:50:20 -06:00
2024-05-10 15:50:20 -06:00
2024-05-09 21:08:49 -06:00
2024-05-10 15:50:20 -06:00
2024-03-11 10:45:57 +01:00
2024-03-26 16:10:09 -07:00
2024-05-10 15:50:20 -06:00
2024-04-26 13:25:25 -06:00
2024-05-10 15:50:20 -06:00
2024-05-09 21:08:49 -06:00
2024-05-06 12:58:11 +02:00
2024-04-11 23:09:12 +02:00
2024-05-09 21:08:49 -06:00
2024-05-10 15:50:20 -06:00
2024-05-05 15:02:50 +02:00
2024-04-15 14:21:52 +02:00
2024-05-10 15:50:20 -06:00
2024-05-11 14:04:05 -04:00
2024-05-03 12:50:42 -07:00
2024-05-10 15:50:20 -06:00
2024-05-10 15:50:20 -06:00