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

Add forward/backward inclusivity rules for markups fix #402 fix #392 #438

Merged
merged 1 commit into from
Jul 21, 2016

Conversation

bantic
Copy link
Collaborator

@bantic bantic commented Jul 21, 2016

Changes Post#markupsInRange to check the markers to the left and right
of the position when range is collapsed. The markups in those markers
provide isForwardInclusive and isBackwardInclusive methods that are
used to determine which markups should be considered "active" at that
range.

fix #392
fix #402

Changes `Post#markupsInRange` to check the markers to the left and right
of the position when range is collapsed. The markups in those markers
provide `isForwardInclusive` and `isBackwardInclusive` methods that are
used to determine which markups should be considered "active" at that
range.

Also updates some test suites that weren't using Helpers.test and
Helpers.module.

fix #392
fix #402
@bantic bantic force-pushed the add-forward-backward-stickiness-to-markup branch from e9d8ddf to 300019f Compare July 21, 2016 19:50
@bantic bantic merged commit 1784346 into master Jul 21, 2016
@bantic bantic deleted the add-forward-backward-stickiness-to-markup branch July 21, 2016 20:00
@lessless
Copy link

thank 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
2 participants