-
Notifications
You must be signed in to change notification settings - Fork 7.6k
undo history not working, when line-endings change after save #12865
Conversation
357b0cf
to
d09eb4c
Compare
The test added in #12681 probably should be updated or we should add a new one for this case. Looking at the commits for 1.5 release-1.4...release-1.5 |
Would it be worth it to extract and extend The solution for the problem LGTM, just 🚲 🏠 |
I wanted to use |
Feel free to push/modify this branch if you want, I have very little time to give to this urgently. |
Ditto. I say lets merge this now and bikeshed the normalization later. |
If you want to merge go ahead, but a test is really needed here. At least file a followup for it. |
put up a test;
|
AFAIK if the lineSeparator option is not set CodeMirror return always |
Kinda worried about possible performance issues with larger files (possibly leading to |
Merging. |
Great work @vahid-sanati @zaggino @ficristo @petetnt |
For a bug identified in #11826 (comment)
credits to @vahid-sanati for identifying this, put up a PR so we can have it merged asap
cc @petetnt @ficristo