-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[CLOSED] Trailing empty lines dropped from paste #6723
Comments
Comment by njx Looking at it, should be able to bisect in the commits since 4.0.3 to see where it was fixed. (It was probably fixed in a commit from the 3.0 stream, I'm guessing - will have to see how easy it is to monkeypatch.) |
Comment by njx Oh, that's odd - I can reproduce it in the latest master now. I could have sworn it worked when I just tried it. Anyway, I'll figure out where it broke and file a bug with Marijn. |
Comment by njx Ah, I figured out my confusion - it only reproduces when the line is truly blank (but not if it has spaces on it), which makes sense. |
Comment by njx Filed as codemirror/codemirror5#2452. It appears that the bug was caused (reintroduced) by codemirror/codemirror5@475b2be0, which removed a hack that fixed this bug (originally reported as codemirror/codemirror5#1474). That hack was removed because of the bug codemirror/codemirror5#2384 that we filed (about clicking the middle button on Linux adding a $). If this turns out to be complicated to fix, we could conceivably just reintroduce the hack in a monkeypatch, and live with that Linux bug for now, since it's probably lower priority. |
Comment by redmunds
|
Comment by njx Yup, agreed. |
Comment by RaymondLim And also it is Linux only issue. |
Comment by redmunds Confirmed. Closing. |
Comment by redmunds Re-opening to track CodeMirror issue. Removing Sprint 38 Milestone. Setting Priority to Medium. |
Comment by redmunds
|
Comment by njx No, we actually cherry-picked a real commit from CM that re-added the hack, so that commit is actually in the upstream repo as well. |
Comment by redmunds Alrighty then. Re-Closing. |
Issue by redmunds
Wednesday Apr 09, 2014 at 18:31 GMT
Originally opened as adobe/brackets#7463
Results: last line is not pasted
According to
git bisect
this was introduced with "Update to final CodeMirror v4 (4.0.3)" commit (869664331).The text was updated successfully, but these errors were encountered: