27

The last times I used a code snipped I noticed that it doesn't work as expected when I want to delete some code. And it seems that the marking (or selecting) doesn't work properly either.

See my example:

enter image description here Here it looks like the marked lines are between the real lines.

If I now try to delete this selected part it deletes a totaly different part of the code. See my picture here: enter image description here

Here I marked the code which is really deleted and selected, even if the purple marked code was at another position. enter image description here

It not a bad bug, just a little bit annoying. I experienced that it just happens if the code is longer than x and after I scrolled. It doesn't happen with short code snippets.

EDIT: Here is a video:

enter image description here

I tried it in Opera and Chrome, in both browsers its the same.

8
  • A short video might be helpful. Are you at 100% zoom? What browser / OS are you using?
    – Cerbrus
    Jan 27, 2017 at 9:57
  • Ok give me some time, I will make a gif. I usually use Opera (42.0.2393.517) Jan 27, 2017 at 10:00
  • @Cerbrus see my update. I made a gif. And I use windows 10, sorry. I also tried it in chrome, but its the same. Jan 27, 2017 at 11:02
  • 5
    Yes, this happens a lop when there are big scrollbars. Then I use Ctrl+A, Ctrl+X, Ctrl+V and usually is fixed.
    – Oriol
    Jan 27, 2017 at 14:06
  • But just as long as I don't scroll it's fixed. If I scroll again in the snipped its bugged again. Jan 27, 2017 at 14:44
  • I experience this bug frequently just by making a new line. I now have a habit of hitting Ctrl+Z after hitting Enter.
    – zer00ne
    Jan 27, 2017 at 19:37
  • 1
    This is closely related to Snippet Editor gets out of sync scrolling and gets very difficult to use. Probably a dupe. Jan 28, 2017 at 6:01
  • Yes it is, sorry didn'found that. The only difference is that he trys to insert a char while I try to delete something. But it seems that the error is the same. Jan 28, 2017 at 9:50

0

You must log in to answer this question.

Browse other questions tagged .