lmparppei / lmparppei/Beat

Small inconvenience: END jumps past hidden stuff on next line

Open
#117 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Objective-C
Stars
344
Forks
54
PR merge metrics
No merged PRs in 30d

Description

A small quirk with hidden Fountain markup:

With hide markup OFF, and the caret at the beginning of the character name in this text:

```
CHARACTER
_Well?_
```

and you hit END (or cmd + right arrow) the caret, as expected, goes to the right of the word character: `CHARACTER | `

But if you turn it ON, hitting END will send the caret to the next line and past the hidden underscore, like this:

```
CHARACTER
_|Well?_
```

This is also true for asterisks. I'm guessing Beat should rather check where *this* line ends, but now probably checks where *next* begins?

Contributor guide

No contributing guide indexed for this repository

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 caret movement in the Beat editor with hidden markup enabled, using the CHARACTER and _Well?_ example and testing END or Command-Right. Trace the editor's line-end handling for hidden underscores and asterisks. Done means the caret stops at the visible end of the current line rather than moving into hidden markup on the next line.

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.