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

Highlighting double matches #14

Open
alex-dixon opened this issue Dec 3, 2017 · 0 comments
Open

Highlighting double matches #14

alex-dixon opened this issue Dec 3, 2017 · 0 comments

Comments

@alex-dixon
Copy link
Contributor

image

A fact binding or result binding match can overlap with a binding for a particular slot (see the consequence case above).

When this occurs we favor highlighting the whole fact/result binding.

Because the second match corresponds to the second condition, we might consider trying to highlight the UUID with the same color as ?e (or whatever variables are bound within the accumulator's constraints). This would require us to map the global bindings to colors we currently have by condition index, and to pass the mappings for e.g. condition index 1 to the function that renders match index 1.

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

No branches or pull requests

1 participant