Automattic / Automattic/simplenote-android

Tab behavior in plain text is disrupted by markdown rules

Open
#1,732 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
1.9k
Forks
318
Avg merge
15h 23m
Merged PRs (30d)
5

Description

When selected as a plain text, not markdown in the per note options, a tab character precepts as an indent for the entire line if a - (hyphen) is at the start of the line. Any subsequent use of tab on the same line only adds another indent to the line rather than where it is located on the line.

This behavior is inconsistent with plain text rules and rather commonly that of markdown.

Windows Version: 11 24H2
Simplenote Version: 2.23.2.

Contributor guide

Open the contributing guide

Research direction

Reproduce the behavior in Simplenote 2.23.2 with a plain-text note containing a hyphenated line and multiple tab presses. Start by tracing the Android note editor's tab and line-indentation handling; done means tabs are inserted at their cursor positions in plain text rather than indenting the entire line.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
mobile
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.