Automattic / Automattic/simplenote-macos
Metrics: Newlines are counted as characters
Open
bug
- Dominant language
- Swift
- Stars
- 1.6k
- Forks
- 172
- Avg merge
- 11h 17m
- Merged PRs (30d)
- 3
Description
> New lines are treated as characters in the character count on macOS but not iOS.
> To reproduce, just open a new note and hit Enter a couple of times — the Metrics UI in the top-right corner will show a count corresponding to the number of Enter presses.
h/t @guarani (Thank you Paul!!)
Contributor guide
Research direction
Start by reproducing the issue in the Metrics UI at the top-right of a new note, then locate the macOS character-count implementation. Compare its newline handling with the iOS behavior described in the report. Done means pressing Enter no longer increases the macOS character count unexpectedly.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- macos, swift
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100