helix/helix-term/src
Michael Davis 360c6bb061
stdx: Replace RopeSliceExt::byte_to_next_char with ceil_char_boundary
The new `RopeSliceExt::ceil_char_boundary` from the parent commits can
be used to implement `RopeSliceExt::byte_to_next_char` when used with
`RopeSlice::byte_to_char`. That function had only one caller and that
caller will eventually disappear when we switch to Ropey v2 and drop
character indexing, so we can drop `byte_to_next_char` now and replace
its caller with `byte_to_char` plus `ceil_char_boundary`.

This change keeps the unit tests for `byte_to_next_char` and checks them
against a polyfill of `byte_to_char` plus `ceil_char_boundary` to ensure
that `byte_to_next_char`'s intended behavior is not changed.
2025-01-26 11:11:53 -05:00
..
commands feat: specify custom lang server(s) for `:lsp-stop` and `:lsp-restart` (#12578) 2025-01-23 18:14:35 -06:00
handlers Add path completion for multiple cursors (#12550) 2025-01-23 14:31:12 -06:00
keymap Rename "file browser" => "file explorer" 2025-01-23 18:17:56 -05:00
ui stdx: Replace RopeSliceExt::byte_to_next_char with ceil_char_boundary 2025-01-26 11:11:53 -05:00
application.rs feat: passing multile of the same files in the arguments places a cursor at each position (#12192) 2025-01-23 14:04:02 -06:00
args.rs feat: passing multile of the same files in the arguments places a cursor at each position (#12192) 2025-01-23 14:04:02 -06:00
commands.rs Use RopeSliceExt floor/ceil functions for goto_file_impl search cap 2025-01-26 11:10:50 -05:00
compositor.rs fix(clippy): clippy 1.83 lints (#12150) 2024-12-02 08:23:32 -06:00
config.rs feat: smart_tab 2023-08-01 09:41:42 -05:00
events.rs add DocumentFocusLost event 2024-12-17 13:34:40 -05:00
handlers.rs implement snippet tabstop support 2024-12-17 13:34:40 -05:00
health.rs fix (hx --health): Don't print headers in white (#12355) 2024-12-29 10:38:28 -06:00
job.rs Add hook/event system 2024-01-23 11:20:19 +09:00
keymap.rs Revert "refactor(shellwords)!: change arg handling strategy (#11149)" 2025-01-06 12:39:53 -05:00
lib.rs fix(lints): clippy 1.84 2025-01-23 15:18:16 -05:00
main.rs feat: passing multile of the same files in the arguments places a cursor at each position (#12192) 2025-01-23 14:04:02 -06:00