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

Child code objects fixes #139

Merged
merged 5 commits into from
Sep 4, 2018
Merged

Child code objects fixes #139

merged 5 commits into from
Sep 4, 2018

Conversation

nickcollins
Copy link
Collaborator

No description provided.

`hasPatWithPid` invokes `childCodeObjects`, which we want to change, so
now's a good time to delete it
Previously, `childCodeObjects` would return targets before and after an
element as children of that element. This made it difficult to get Deuce
selection/hover polygons working correctly. This change makes it so that
a before target is instead the prior sibling of the element it precedes.
After targets are removed in the general case since they're not always
appropriate, but they're added in several cases, such as after list
elements, where they are useful but previously missing.
This commit also makes other changes, so that text selection should
still work, and so that the `Exp` comments are more accurate
@nickcollins nickcollins merged commit cbe0062 into dev Sep 4, 2018
@nickcollins nickcollins deleted the childCodeObjects-fixes branch September 4, 2018 17:05
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.

None yet

1 participant