You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Generally speaking, it's not always easy to select code blocks, but at with if you drag across a code block with the mouse it's possible to highlight the whole code block + some lines above and below.
When using Shift + arrow keys for precise selection though, behavior is quite inconsistent, esp. down arrow.
Here, I'm trying hard to select further down but blocked by some invisible wall. I finally manage to select a few lines, but a visual glitch makes the line numbers flash (this also happens when selecting upward - it's not visible on the low FPS gif below though).
When trying to go back up, I am warped to document stop.
Sometimes, when I should enter the code block's first line, I also jump select until document end - but I couldn't repro on this shorter MWE.
To Reproduce
Steps to reproduce the behavior:
Write some text, then add a code block with some text below, then more text below. Here is a short sample:
SOME TEXT
SOME TEXT
SOME TEXT
```
some code
some code
some code
```
MORE TEXT
MORE TEXT
MORE TEXT
Click above the code block
Hold shift and press Down arrow multiple times
... then Up arrow multiple times
Try the same, starting from below the code block
Observe line numbers flashing, selection being stuck and sometimes warping to document start/end
Expected behavior
Shift+up/down should extend/shrink selection line by line as usual, reliably.
Desktop:
OS: Linux Ubuntu 22.04, Unity desktop
Typora Version
e.g: 1.7.6
The text was updated successfully, but these errors were encountered:
Describe the bug
Generally speaking, it's not always easy to select code blocks, but at with if you drag across a code block with the mouse it's possible to highlight the whole code block + some lines above and below.
When using Shift + arrow keys for precise selection though, behavior is quite inconsistent, esp. down arrow.
Here, I'm trying hard to select further down but blocked by some invisible wall. I finally manage to select a few lines, but a visual glitch makes the line numbers flash (this also happens when selecting upward - it's not visible on the low FPS gif below though).
When trying to go back up, I am warped to document stop.
Sometimes, when I should enter the code block's first line, I also jump select until document end - but I couldn't repro on this shorter MWE.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Shift+up/down should extend/shrink selection line by line as usual, reliably.
Desktop:
Typora Version
e.g: 1.7.6
The text was updated successfully, but these errors were encountered: