Skip to content

Cursor selection inconsistent across editors #10

Open

Description

@frelodev

If a block of text is selected from the left to the right it sends the event properly.
Otherwise if it's selected from the right to the left it goes off by one to the right

LtR sent
LtR received
RtL sent
RtL received

Activity

  1. added
    bugSomething isn't working as intended
    needs researchThis issue needs further research
    coreThis issue is related to the core Rust library
    and removed on Sep 25, 2024
  2. zaaarf commented on Sep 26, 2024

    @zaaarf
    Member

    Did some testing on multiple clients with @alemidev and @frelodev. This may not even be in the library but an unfortunate combination of issues spread across multiple editors, as it seems wildly inconsistent across different editors but always the same within the same editor.

    Left-to-right

    nvim POV

    image

    vscode POV

    image

    intellij POV

    image

    Right-to-left

    nvim POV

    image

    vscode POV

    image

    intellij POV

    image

  3. changed the title [-]Cursor selection[/-] [+]Cursor selection inconsistent across editor[/+] on Sep 26, 2024
  4. changed the title [-]Cursor selection inconsistent across editor[/-] [+]Cursor selection inconsistent across editors[/+] on Oct 16, 2024
  5. alemidev commented on Feb 18, 2025

    @alemidev
    Member

    I think this may be due to multi-byte characters and some other bugs we solved, is this still relevant?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working as intendedcoreThis issue is related to the core Rust libraryneeds researchThis issue needs further research

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions