MacDownApp / MacDownApp/macdown

Insertion point and selection in sync between Preview Pane and Editor Pane

Open
#1,179 2 comments 1 reaction 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

I would really appreciate if when we click somewhere in the Preview Pane, the cursor match the position in the Editor Pane.

I often proofread my document using the Preview, and when I find a typo, to fix it, I need to search the same text in the Editor.
It would be easier to just click on the Preview, and have the focus given to the Editor pane with the cursor matching the new point.

Same for selection of a word.

PS : love your app, thank you!

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 locating the Preview Pane and Editor Pane implementations and tracing how clicks and text selections are handled. Determine how preview positions map to editor positions, then verify that clicking or selecting in the preview focuses the editor at the corresponding location.

Written by the indexing model from the issue text.

Assessment

Tech stack
macos, objective-c
Domain
desktop
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.