Automattic / Automattic/simplenote-macos

Update Tab Behavior

Open
#521 0 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

### Details:
1. Type `- `
2. Press **tab**
3. Notice the whole line is indented
4. Add some text and press **tab**

As a result, the line will be indented again. Tab Indentation should only happen whenever the cursor is in the `[0, first non marking character)`: step 4 should not be indenting the whole line again.

Contributor guide

Open the contributing guide

Research direction

Reproduce the behavior in the macOS editor using the four steps in the issue, then locate the entry point that handles Tab indentation. The change is complete when Tab indents only while the cursor is before the first non-marking character, and does not re-indent the whole line after text has been added.

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
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.