MacDownApp / MacDownApp/macdown

Shift Left goes too far in lists

Open
#290 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rich Text Format
Stars
9.8k
Forks
1.2k
PR merge metrics
No merged PRs in 30d

Description

Running Version 0.4.3 (606), on OS X 10.10.2.

If I have a Level 3 item in a * list and shift it left (to make it a Level 2 item) with the ⌘[ shortcut, it goes one space too far. This doesn't happen with Level 2 items (since it can't be less indented than Level 1), but does happen with Level 4 and 5 items.

Demonstration here: http://cl.ly/Zoqd

I do have "Insert spaces instead of tabs" checked in settings, and if I turn it off this doesn't happen.

Contributor guide

Open the contributing guide

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 reproducing the list indentation behavior in Version 0.4.3 on OS X with “Insert spaces instead of tabs” enabled, using the ⌘[ shortcut on Level 3, 4, and 5 items. Compare the result with tab insertion disabled; done means shifting left removes only the expected indentation and does not affect the existing Level 2 behavior.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.