linebender / linebender/parley
Ability to control where line breaks appear
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 736
- Forks
- 120
- Avg merge
- 1d 3h
- Merged PRs (30d)
- 53
Description
That is, something like the word-break CSS property. Right now, Parley breaks all lines at word boundaries (there's logic to insert "emergency line breaks" if a single word overflows the maximum width, but it seems to be disabled).
For egui, we need to be able to customize where line breaks can appear (strictly at word boundaries, at word boundaries but falling back to letter boundaries, or at letter boundaries).
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No files, tests, or entry points are named in the issue. Start by tracing Parley’s existing word-boundary and emergency line-break logic, then compare the three requested break modes. Done means callers can control whether breaks occur only at word boundaries, fall back to letter boundaries, or occur at letter boundaries.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100