Skip to content

ace/autocomplete: Autocompletion does not trigger when typing \ in latex mode #5834

Description

@JeanCASPAR

Describe the bug

The autocompletion doesn't start when typing "\", only when typing the letter next to it, which is troublesome when autocompleting LaTeX command because the "\" will be written twice when accepting the suggestion.

Expected Behavior

I expect the autocompletion to start running when typing "\".

Current Behavior

Nothing happens when typing "\".

Reproduction Steps

Try in this window to type "\sum" : the completion will only start when typing the s, but then accepting the suggestion will write "\\sum" with two backslashes.

Possible Solution

No response

Additional Information/Context

No response

Ace Version / Browser / OS / Keyboard layout

v1.43/Firefox 1.39/NixOS 25.05/Azerty

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