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 bytepos_to_file_charpos. #12613

Closed
wants to merge 1 commit into from
Closed

Fix bytepos_to_file_charpos. #12613

wants to merge 1 commit into from

Commits on Feb 28, 2014

  1. Fix bytepos_to_file_charpos.

    Make bytepos_to_charpos relative to the start of the filemap rather than its previous behaviour which was to be realtive to the start of the codemap, but ignoring multi-byte chars in earlier filemaps. Rename to bytepos_to_file_charpos. Add tests for multi-byte chars.
    nrc committed Feb 28, 2014
    Configuration menu
    Copy the full SHA
    df02f77 View commit details
    Browse the repository at this point in the history