Skip to content

Conversation

@bantic
Copy link
Collaborator

@bantic bantic commented Aug 3, 2016

  • Allow Editor#selectRange, postEditor#setRange, postEditor#toggleSection, and postEditor#toggleMarkup to receive Range or Position
  • Add Position#toRange, Section#toRange and Post#toRange methods
  • Add toRange util to convert range|position into range
  • Remove unused Position#clone, Range.fromSection
  • Add section#toPosition(offset)
  • Expose Position on global MobiledocKit export
  • docs: label postEditor#setRange public fixes document postEditor.setRange and change edit methods to use it #258

  * Allow `Editor#selectRange`, `postEditor#setRange`,
  * `postEditor#toggleSection`, and `postEditor#toggleMarkup` to receive
  * Range *or* Position
  * Add `Position#toRange`, `Section#toRange` and `Post#toRange` methods
  * Add `toRange` util to convert range|position into range
  * Remove unused `Position#clone`, `Range.fromSection`
  * Add `section#toPosition(offset)`
  * Expose `Position` on global MobiledocKit export
  * docs: label `postEditor#setRange` public fixes #258
@bantic bantic merged commit 519b697 into master Aug 3, 2016
@bantic bantic deleted the add-position-range-methods branch August 3, 2016 21:24
@bantic
Copy link
Collaborator Author

bantic commented Aug 4, 2016

released in v0.10.4

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.

document postEditor.setRange and change edit methods to use it

2 participants