question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Shift+Left selects one character at a time

See original GitHub issue

Description

When you press Shift + Left Arrow Key at the same time, multiple characters get selected. However, when you press Shift and repeatedly press Left, only one character gets selected

Steps to reproduce

  1. Type some text
  2. Hold down Shift
  3. Press and release the Left Arrow Key
  4. Press and release the Left Arrow Key
  5. Press and release the Left Arrow Key etc.

Expected behavior: That multiple characters get selected

Actual behavior: Only one character gets selected at a time

Versions

  • Mark Text: v 0.10.21
  • OS: Windows 10

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
hippwncommented, Jun 20, 2018

Tested on Windows and Arch Linux, it seems in fact that once you release your Left key, the cursor is moved at the end of your selection, even if your are selecting backward. This explains why your character is unselected, as your selection is one-character-long.

This also occurs with bigger selection and word-selection (Ctrl+ Shitf + Left). See gif below (what I did is select a bunch of characters at once, release the Left key, and then pressed it again).

marktext_issue

2reactions
stefnotchcommented, May 5, 2018

Press and release the Left key.

Here is screen recording. When I keep the Left key pressed, I can select multiple characters:

2018-05-05_11-29-44

Read more comments on GitHub >

github_iconTop Results From Across the Web

Get That One Character You Missed When Highlighting
Shift Left Arrow. Shift left arrow will select one character to the left at a time.
Read more >
[Shift]+[Left Arrow] Selection in Word 2016
However, if I try to select backwards with the left arrow key, the behavior seems to be that a single character is selected...
Read more >
Select by one character using shift + arrow does not work in ...
... I am unable to use Shift + ← and Shift + → in Terminal, it returns symbols instead of selecting one character...
Read more >
vim - Mapping <Shift>-Arrows to selecting characters/lines
The question is different. I want to map <Shift>-<Up> to work as line selection and <Shift>-<Left> to work as char selection.
Read more >
The complete guide to selecting text on your Mac | Digital Citizen
Use Shift - Left Arrow to select one character before the cursor's position in the text, to the left of it. After starting...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found