streetwriters/notesnook

Unable to select text from start or end of in line code

Open

#2,792 opened on Jun 22, 2023

View on GitHub
 (9 comments) (0 reactions) (1 assignee)JavaScript (5,325 stars) (285 forks)batch import
Platform: DesktopPlatform: WebStatus: ConfirmedType: Buggood first issueplane

Description

What happened?

Trying to select from either end of a line consisting only of inline code will fail. No selection will occur and cursor will simply reposition.

Steps to reproduce the problem

  • Write any inline code such that it becomes the end of the line or it is at the start of the line.
    • Eg:
      Start ssh-agent in fish shell:
      `eval (ssh-agent -c)`
      
  • Trying to select from either end of the inline code will fail

Version

v2.5.3

Platform/OS

Windows, Linux

Relevant log output

No response

Contributor guide