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

Highlight join #228

Merged
merged 3 commits into from
Aug 19, 2014
Merged

Highlight join #228

merged 3 commits into from
Aug 19, 2014

Conversation

vitto32
Copy link
Contributor

@vitto32 vitto32 commented Aug 2, 2014

  • Overlapping highlights of same class where not merging correctly.
  • className param can be false to erase existing highlights (maybe not so clean to implement it here)
  • exclusive param, if true highlights with different classApplier are removed from ranges (check for className instead of classApplier?)

CharacterRange.prototype.complements was added for ranges subtraction

vitto32 added 2 commits July 22, 2014 12:46
- Overlapping highlights of same class where not merging correctly.
- `className` param can be `false` to erase existing highlights (maybe not so clean to implement it here)
- `exclusive` param, if `true` highlights with different `classApplier` are removed from ranges (check for `className` instead of `classApplier`?)

`CharacterRange.prototype.complements` was added for ranges subtraction
This was referenced Aug 2, 2014
@timdown
Copy link
Owner

timdown commented Aug 5, 2014

This looks really good. I've merged your changes locally, I'm going to write and run some tests and push when I'm done. Thank you.

@timdown timdown merged commit 92b5449 into timdown:master Aug 19, 2014
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.

2 participants