Repository navigation
Align wrapped lines per line; single-line text fields - #6
Merged
Merged
Conversation
Centred or end-aligned wrapping text now aligns each line inside the wrap width. El::single_line() keeps a text input on one line, scrolling sideways to the caret and clipping to the field; rune-kit TextInput and List search opt in.
kitlangton
added a commit
that referenced
this pull request
Oct 23, 2026
A justify flag on TextSpec behind an El builder, on top of #6's per-line Align. Wrapped justified lines use Parley's per-line justification, which starts the last line from the text's direction. TextStyle and the exhaustive Align enum are untouched.
ImBIOS
pushed a commit
to ImBIOS/rune
that referenced
this pull request
Oct 26, 2026
* Align wrapped lines per line and add single-line text fields Centred or end-aligned wrapping text now aligns each line inside the wrap width. El::single_line() keeps a text input on one line, scrolling sideways to the caret and clipping to the field; rune-kit TextInput and List search opt in. * Changelog: PR number
ImBIOS
pushed a commit
to ImBIOS/rune
that referenced
this pull request
Oct 26, 2026
A justify flag on TextSpec behind an El builder, on top of anomalyco#6's per-line Align. Wrapped justified lines use Parley's per-line justification, which starts the last line from the text's direction. TextStyle and the exhaustive Align enum are untouched.
adeerkhan
added a commit
to adeerkhan/rune
that referenced
this pull request
Nov 12, 2026
The completion thread polls the device in a loop, and `SurfaceRenderer` had no `Drop`, so its fields dropped in declaration order: the wgpu `Device` first, then the sender that ends the thread's wait. The thread was therefore still polling a device that was being torn down, and the poll reached driver state that had already gone. It shows up as a SIGSEGV in the Vulkan driver at process exit: anomalyco#2 <ash::device::Device>::get_semaphore_counter_value () anomalyco#3 <wgpu_hal::vulkan::Fence>::get_latest () anomalyco#6 <wgpu_core::device::resource::Device>::maintain () anomalyco#10 <wgpu::api::device::Device>::poll () anomalyco#11 <rune::native_surface::pipeline::SurfaceRenderer>::with_pipeline ({closure#1}) The thread is now joined in `Drop`, before the device is dropped.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Found driving Hex on a real Mac: centred onboarding copy wrapped as a left-aligned block, and the History search field wrapped onto two lines.
Align::Center/Endtext aligns each line in its wrap width (TextSystem::layout_aligned).El::single_line(): no wrap, horizontal scroll to the caret, clipped to the field, clicks offset by the scroll. rune-kitTextInput(non-multiline) andListsearch opt in.Tests:
centred_wrapped_lines_centre_each_line_in_the_wrap_width,single_line_input_scrolls_to_the_caret_instead_of_wrapping;cargo test --workspacepasses. Clippy errors on dev are pre-existing.