Skip to content
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

Use proper method to subscribe to onDidTokenize #650

Merged
merged 1 commit into from
Feb 23, 2018

Conversation

Arcanemagus
Copy link
Contributor

Way back in atom/atom@117a3fb (released in Atom v1.9.0-beta0) Atom introduced an experimental TextEditor::onDidTokenize method in order to subscribe to that event. Switch to using this instead of grabbing it through the private properties which no longer work as of Atom v1.25.0-beta0.

Note that this is still present in the current codebase.

Fixes #649.

Way back in
atom/atom@117a3fb
(released in Atom v1.9.0-beta0) Atom introduced an experimental
TextEditor::onDidTokenize method in order to subscribe to that event.
Switch to using this instead of grabbing it through the private
properties which no longer work as of Atom v1.25.0-beta0.

Fixes atom-minimap#649.
@Arcanemagus
Copy link
Contributor Author

Note: CI failures are unrelated to this PR and look to have been happening on master for a while.

@Evpok
Copy link

Evpok commented Feb 15, 2018

@mehcode @abe33 Any input on that ? Both this PR and the failing seem pretty critical, is there still active maintenance on this package ?

@robertrossmann
Copy link
Contributor

Given the popularity of this package it would be really awesome if some of the maintainers could merge and release this patch. ❤️ Thank you in advance!

@mehcode mehcode merged commit 36afb0e into atom-minimap:master Feb 23, 2018
@mehcode
Copy link
Collaborator

mehcode commented Feb 23, 2018

Reproduced and confirmed the fix. Release incoming. Thanks @Arcanemagus 💯

@Arcanemagus Arcanemagus deleted the fix-onDidTokenize branch February 23, 2018 18:26
@CaptainMorgans
Copy link

Can anyone explain step by step what I can do to fix the minimap display issue in 1.25.0 as I'm not understanding what to do to switch to the TextEditor::onDidTokenize method.

@Arcanemagus
Copy link
Contributor Author

Updating to v4.29.8 should get minimap working for you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants