Skip to content
This repository has been archived by the owner on Mar 3, 2023. It is now read-only.

Soft-wrap incorrectly applied to buffer with weird results #1454

Closed
cobyism opened this issue Jan 21, 2014 · 2 comments
Closed

Soft-wrap incorrectly applied to buffer with weird results #1454

cobyism opened this issue Jan 21, 2014 · 2 comments

Comments

@cobyism
Copy link
Contributor

cobyism commented Jan 21, 2014

I have no idea how I got into this situation, but it’s a strange one. In the following .gif, what I’m doing is simply pressing the left arrow key repeatedly.

2014-01-21 at 5 38 pm

Note the following:

  • When the cursor reaches the start of the initial line, the next leftwards movement jumps up an incorrect number of lines (should go immediately above).
  • In the gutter, the soft-wrap indicator dots (if that’s what they are?) and line-numbers are completely out-of-sync with the contents of the editor’s buffer. For example, if I attempt to click my cursor onto the word "Sorry" a couple of lines above the one labelled as line 23, the cursor jumps to the end of the line labelled as line 12.
  • (Not shown in the gif) I can’t click my cursor into any of the text with a dot in the line’s gutter. Doing so results in the cursor jumping upwards to the nearest line with a number in it’s gutter.

I’ve had soft-wrap enabled by default for a good week or so now, and haven’t run into any problems until now. I have no idea what combination of things led my editor into this state.

@izuzak
Copy link
Contributor

izuzak commented Jul 24, 2014

Seems like this was fixed ages ago with #1492 (see #1492 (comment)).

@izuzak izuzak closed this as completed Jul 24, 2014
@lock
Copy link

lock bot commented Jan 26, 2019

This issue has been automatically locked since there has not been any recent activity after it was closed. If you can still reproduce this issue in Safe Mode then please open a new issue and fill out the entire issue template to ensure that we have enough information to address your issue. Thanks!

@lock lock bot locked as resolved and limited conversation to collaborators Jan 26, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants