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

bold button incorrectly reflects state #119

Closed
bantic opened this issue Sep 8, 2015 · 0 comments · Fixed by #120
Closed

bold button incorrectly reflects state #119

bantic opened this issue Sep 8, 2015 · 0 comments · Fixed by #120
Assignees

Comments

@bantic
Copy link
Collaborator

bantic commented Sep 8, 2015

Sometimes, when the text that is highlighted is touching bold text, the button incorrectly reflects that the highlighted text is also bold.

To reproduce:

  • with text "hello world" in a section,
  • select "w" and make it bold
  • select the "o" after the "w"
  • the bold button will be shown as active (blue)
@bantic bantic self-assigned this Sep 8, 2015
bantic added a commit that referenced this issue Sep 9, 2015
 * cursor#moveToPosition and cursor#selectRange
 * rename applyMarkupToMarkers -> applyMarkupToRange
 * rename removeMarkupFromMarkers -> removeMarkupFromRange
 * Add Range#trimTo

fixes #119
bantic added a commit that referenced this issue Sep 9, 2015
 * cursor#moveToPosition and cursor#selectRange
 * rename applyMarkupToMarkers -> applyMarkupToRange
 * rename removeMarkupFromMarkers -> removeMarkupFromRange
 * Add Range#trimTo

fixes #119
bantic added a commit that referenced this issue Sep 9, 2015
 * cursor#moveToPosition and cursor#selectRange
 * rename applyMarkupToMarkers -> applyMarkupToRange
 * rename removeMarkupFromMarkers -> removeMarkupFromRange
 * Add Range#trimTo

fixes #119
bantic added a commit that referenced this issue Sep 9, 2015
 * cursor#moveToPosition and cursor#selectRange
 * rename applyMarkupToMarkers -> applyMarkupToRange
 * rename removeMarkupFromMarkers -> removeMarkupFromRange
 * Add Range#trimTo

fixes #119
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 a pull request may close this issue.

1 participant