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

fix .changed() for bookmarks #1709

Closed
wants to merge 1 commit into from
Closed

Conversation

ibdknox
Copy link
Contributor

@ibdknox ibdknox commented Jul 29, 2013

Calling .changed() on a bookmark throws because bookmarks do not have from and to. This is a naive solution, but it seems like a better solution would be to have bookmarks return their position in the same way that all other textmarkers do. That would definitely be an end-user breaking change, though.

Signed-off-by: Chris Granger <ibdknox@gmail.com>
marijnh added a commit that referenced this pull request Jul 30, 2013
@marijnh
Copy link
Member

marijnh commented Jul 30, 2013

Thanks for reporting that. See attached slightly simpler patch, which should also take care of it.

@marijnh marijnh closed this Jul 30, 2013
anaran pushed a commit to anaran/CodeMirror that referenced this pull request Feb 22, 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