MacDownApp / MacDownApp/macdown

Only the first range is styled in discontinuous selections

Open
#582 1 comment 0 reactions 0 assignees View on GitHub
bug
Dominant language
Rich Text Format
Stars
9.8k
Forks
1.2k
PR merge metrics
No merged PRs in 30d

Description

All ranges in a discontinuous selection should have a style applied.

to reproduce:
1. Select, using the cmd key, a number of different words from a paragraph.
2. Make the text bold by selecting **Format > Strong** or **cmd-B** keyboard shortcut.
3. Only the first word is styled bold.

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the issue in MacDown with a discontinuous selection, then trace the Format > Strong action and cmd-B shortcut handling. Done means every selected word or range is styled bold rather than only the first.

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.