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

Handle composed characters in evil-range #1664

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Commits on Aug 22, 2022

  1. Make evil-range aware of composed characters

    A composed character is a way of visually replacing a string of characters with
    a single glyph. If beg in the call to evil-range lies in this hidden sequence,
    adjust the position to the beginning of the sequence. Similarly, make sure end
    comes at the end of any such hidden sequence. The purpose is to prevent evil
    from unintentionally modifying part of a hidden sequence of characters.
    justbur committed Aug 22, 2022
    Configuration menu
    Copy the full SHA
    523f740 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f831ff5 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    9de9a3c View commit details
    Browse the repository at this point in the history
  4. Improve evil-range

    Account for beg > end case and case where beg or end are nil
    justbur committed Aug 22, 2022
    Configuration menu
    Copy the full SHA
    ca27fcf View commit details
    Browse the repository at this point in the history

Commits on Aug 23, 2022

  1. Add evil-treat-composed-chars-as-one option

    Allows user to disable special handling of composed characters. See the
    docstring for more information.
    justbur committed Aug 23, 2022
    Configuration menu
    Copy the full SHA
    a7def96 View commit details
    Browse the repository at this point in the history
  2. Use new variable in tests

    justbur committed Aug 23, 2022
    Configuration menu
    Copy the full SHA
    9b133c0 View commit details
    Browse the repository at this point in the history