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

TextRange extension to skip zero width characters #198

Closed
timdown opened this issue Mar 23, 2014 · 1 comment
Closed

TextRange extension to skip zero width characters #198

timdown opened this issue Mar 23, 2014 · 1 comment

Comments

@timdown
Copy link
Owner

timdown commented Mar 23, 2014

From simongem...@gmail.com on February 19, 2014 05:45:02

I have the unfortunate situation where I have to use zero-width white space characters. They are zero width, so they don't show up, but they still count as a character when rangy is counting character positions. Not sure if you want to handle this situation, but if your aim is to provide a method to get to the visible 5th character, then you might want to ignore this special character (U200B).

Original issue: http://code.google.com/p/rangy/issues/detail?id=198

@timdown
Copy link
Owner Author

timdown commented Aug 25, 2014

Implemented as ignoreCharacters option in characterOptions.

@timdown timdown closed this as completed Aug 25, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant