linebender / linebender/parley
Display tab character
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 736
- Forks
- 120
- Avg merge
- 1d 3h
- Merged PRs (30d)
- 53
Description
Currently, the tab character is not displayed at all--it has no width. Cosmic Text has "expanding tabs", which means they're aligned relative to the start of each row, but we don't need anything that fancy. I think the only option we need to expose is a "tab width" option, specified relative to the width of a single space character.
Not sure if this requires changes in Swash or if it can all be done within Parley.
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
Start by tracing how Parley currently handles tab characters and how it obtains the width of a space character; then determine whether the behavior belongs in Parley or Swash. Done means tabs have a configurable width relative to a space and no longer occupy zero width.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100