linebender / linebender/parley

Display tab character

Open
#302 3 comments 2 reactions 0 assignees View on GitHub

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

  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

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.