MacDownApp / MacDownApp/macdown
Incorrect quote autocompletion
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
To reproduce:
1. Enter `')` (a single quote and a right parenthesis).
2. Move cursor between the quote and parenthesis.
3. Enter `'` (a single quote)
Behaviour: Two single quotes are inserted. The cursor ends between the second and third quotes.
Expected: One single quote. The cursor should end after the second (new-ly inserted) quote.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the quote-autocompletion sequence in MacDown, then trace the editor's handling of an inserted single quote when the cursor is between an existing quote and parenthesis. The issue names no file or test; done means the sequence inserts one quote and leaves the cursor after the new second quote.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- macos, objective-c
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 45/100