ankitects / ankitects/anki

When using Ctrl+, to remove a list entry, the cursor disappear

Open
#2,956 0 comments 2 reactions 0 assignees View on GitHub
editor
Dominant language
Rust
Stars
30.5k
Forks
3.2k
Avg merge
2d 8h
Merged PRs (30d)
72

Description

How to reproduce:
* in note editor, use the shortcut ctrl+, twice to add and then remove an entry in a list

Actual result:
* The text is changed as expected, but the cursor left the field.

Expected result:
* The whole operation should be a no-op. Or at least, the cursor should be on the same line. Or at least, the cursor should still be in the field.

Relatedly, it's slightly frustrating that, when adding the line entry, the cursor move to the start of the line. But that's not as bad as having the cursor disappear

Contributor guide

Open the contributing guide

Research direction

Start in the note editor and reproduce the issue by using Ctrl+, twice to add and remove a list entry. Verify that the text changes as expected while the cursor remains in the field, ideally on the same line; the issue does not name a file or test to begin with.

Written by the indexing model from the issue text.

Assessment

Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.