linebender / linebender/parley

Ability to control where line breaks appear

Open
#303 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.