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

Revert #853 #876

Merged
merged 1 commit into from
May 22, 2017
Merged

Revert #853 #876

merged 1 commit into from
May 22, 2017

Conversation

Arcanemagus
Copy link
Member

@Arcanemagus Arcanemagus commented Apr 6, 2017

Reverts #853.

From the testing done so far this code either:

  • Does exactly what Atom is already doing itself if the fix doesn't replace the entire file
  • Doesn't actually work if the entire file is replaced (rare to reproduce this)

So in either case the code is doing nothing but adding complexity to the codebase.

@Arcanemagus
Copy link
Member Author

@yacut The GIF you posted falls under the first path outlined above, are you seeing any cases where the entire file is being replaced and the cursor is actually being restored?

@Arcanemagus Arcanemagus force-pushed the arcanemagus/revert-853 branch 2 times, most recently from 688371b to 605b108 Compare April 13, 2017 18:25
@Arcanemagus Arcanemagus force-pushed the arcanemagus/revert-853 branch 2 times, most recently from 39da031 to 99c235b Compare May 3, 2017 04:03
@Arcanemagus Arcanemagus force-pushed the arcanemagus/revert-853 branch from 99c235b to 0c32db1 Compare May 3, 2017 05:51
@Arcanemagus Arcanemagus force-pushed the arcanemagus/revert-853 branch from 0c32db1 to d4a1a11 Compare May 19, 2017 18:37
@Arcanemagus
Copy link
Member Author

Note, tracking the fix for the likely issue that prompted this initially is here: atom/atom#14189.

Copy link
Member

@IanVS IanVS left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Too bad this didn't work as hoped.

@Arcanemagus Arcanemagus merged commit d23a738 into master May 22, 2017
@Arcanemagus Arcanemagus deleted the arcanemagus/revert-853 branch May 22, 2017 16:45
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants