FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Use previous definition of scope selector match to fix API breakage by nathansobo · Pull Request #6987 · atom/atom · GitHub

This repository was archived by the owner on Mar 3, 2023. It is now read-only.

Repository navigation

Use previous definition of scope selector match to fix API breakage - #6987

Merged
kevinsawicki merged 1 commit into
masterfrom
ns-fix-buffer-range-for-scope-at-position
May 28, 2015
Merged

kevinsawicki merged 1 commit into
masterfrom
ns-fix-buffer-range-for-scope-at-position

Conversation

Copy link
Copy Markdown
Contributor

I switched to first-mate Selector because I didn’t want to replicate the poorly-defined Token::matchesScopeSelector method now that tokens are not stored on lines. However, the first-mate semantics are stricter and that broke the API. Perhaps using selector-kit here would be better, but I just wanted to put back exactly to how it was for now.

@kevinsawicki we need to merge this and release ASAP to fix railroad diagrams and probably some other packages. Sorry about this everybody.

/cc @ypresto

I switched to first-mate Selector because I didn’t want to replicate
the poorly-defined Token::matchesScopeSelector method now that tokens
are not stored on lines. However, the first-mate semantics are stricter
and that broke the API. Perhaps using selector-kit here would be better,
but I just wanted to put back exactly to how it was for now.

/cc @ypresto
kevinsawicki added a commit that referenced this pull request May 28, 2015
…osition

Use previous definition of scope selector match to fix API breakage
kevinsawicki merged commit 0273533 into master May 28, 2015
kevinsawicki deleted the ns-fix-buffer-range-for-scope-at-position branch May 28, 2015 15:11

Copy link
Copy Markdown
Contributor

Thanks for fixing this 👍

ypresto commented May 29, 2015

Copy link
Copy Markdown
Contributor

#6757

ypresto commented May 29, 2015

Copy link
Copy Markdown
Contributor

Thanks!!!

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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.

3 participants


Back | FazBrowse Home | New Git URL