Automattic / Automattic/simplenote-macos

Lines with tabs start newline too soon

Open
#388 2 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Swift
Stars
1.6k
Forks
172
Avg merge
11h 17m
Merged PRs (30d)
3

Description

### Expected
I expected that a line with tabs would behave the same as other lines and go to the end of the view.

### Observed
Instead, lines with tabs within them seem to cut off at a certain point (the tabbed words are all in one "line"):

Screen Shot 2019-09-25 at 3 58 00 PM

### Reproduced
1. Open any note or create a new one
2. Add text in a paragraph and see that it continues the full width the line length is set to
3. Add text with tabs between words
4. Observe that the line gets cut off as shown in the screenshot above

Make|Model|macOS Version|App Version
-|-|-|-
MacBook Pro | | macOS 10.14.6 | Simplenote 1.7.0

Contributor guide

Open the contributing guide

Research direction

Reproduce the issue in the Simplenote macOS app by creating a paragraph with tabs and comparing it with ordinary text. Trace the macOS editor or text-layout entry point responsible for line wrapping, then verify that tabbed text reaches the configured view width without cutting off early.

Written by the indexing model from the issue text.

Assessment

Tech stack
swift
Domain
desktop
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.