pasting code in editor does not stretch with scrollbar, but keeps it weirdly sized #29

Closed
Pomax opened this Issue Apr 27, 2012 · 2 comments

Projects

None yet

2 participants

@Pomax

pasting code is important, and should trigger a reflow instead of whatever it's doing now.

@toolness

The refresh() method might help w/ this. From the CodeMirror manual:

If your code does something to change the size of the editor element (window resizes are already listened for), or unhides it, you should probably follow up by calling this method to ensure CodeMirror is still looking as intended.

@toolness

Moving this to friendlycode issue #2.

@toolness toolness closed this May 3, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment