Skip to content

Cursor position have strange behavior in browsers #17

@Masacroso

Description

@Masacroso

Importing a .yml file of espanso I see that the cursor position works badly in internet browsers. The behavior that I had seen is the following: suppose that from espanso I have the substitution defined by

- trigger: sñ
  replace: \sum_{$|$}

It mean that when I type it must be replaced by the text \sum_{} with the cursor inside the brackets. However it write it as \sum_{$|$} and leave the cursor at the right of the expression. If I repeat the trigger, that is, if I write again after the first one then it repeat the same behavior but the cursor select the text $|$ of the first expression. This seems some kind of delayed recognition of the string $|$.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions