Skip to content

Reposition cursor before autocompleting #899

Open
@prah23

Description

@prah23

While autocompleting, the position of the cursor is where the autocompleted text is added, appending the text after the cursor to the autocompleted text, resulting in inconsistent text.
For example, #**zulip-ter|min is autocompleted to #**zulip-terminal**min due to the cursor being placed after r.

We need the autocomplete to consider the text on the left of the cursor as well as the text on the right that is potentially relevant for the autocomplete. This would then need the repositioning of the cursor at the 'potential' end of text to be used for autocomplete, before we autocomplete on the text.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions