Skip to content
This repository has been archived by the owner on Sep 6, 2021. It is now read-only.

CodeMirror selection doesn't continue to right if you scroll horizontally #1267

Closed
redmunds opened this issue Jul 17, 2012 · 7 comments
Closed

Comments

@redmunds
Copy link
Contributor

  1. open any file that requires a horizontal scroll (e.g. brackets/src/index.html)
  2. select 1 or more lines of text
    >> notice that the selection does not extend all the way to the right
  3. scroll horizontally to the right
    >> selection gap on right gets even bigger
@peterflynn
Copy link
Member

Filed marijnh/CodeMirror2#643 -- looks like this is caused by the same CodeMirror change as #1240, but in this case it's core CM code that got bit by it, so it repros in the vanilla upstream CodeMirror editor too.

@peterflynn
Copy link
Member

Marijn has fixed this already upstream; our next CM merge will pick up the fix

@pthiess
Copy link
Contributor

pthiess commented Jul 24, 2012

Reviewed, sprint 12.

@peterflynn
Copy link
Member

I've spun off the first issue (step 2 above) as a separate bug, #1302. It has been around for a long time and is not a recent regression. The second issue (step 3 above) is a recent regression and should be fixed as soon as we're done merging the CM update.

@peterflynn
Copy link
Member

The CodeMirror merge has been deferred to Sprint 13 due to some recent instability in the CM scrolling code. Pushing this bug out till then.

@njx
Copy link
Contributor

njx commented Aug 23, 2012

FBNC to @redmunds -- please make sure to git submodule update to get the latest CodeMirror.

@ghost ghost assigned redmunds Aug 23, 2012
@redmunds
Copy link
Contributor Author

Looks good. Closing.

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

4 participants