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

Unexpected behaviour when triggering snippets #2082

Closed
ghost opened this issue Jun 14, 2018 · 3 comments
Closed

Unexpected behaviour when triggering snippets #2082

ghost opened this issue Jun 14, 2018 · 3 comments
Labels
bug 🐛 Issue concerns a bug.

Comments

@ghost
Copy link

ghost commented Jun 14, 2018

Current behavior

Example snippet

snip

When triggering a snippet twice on the same line, the set cursor position doesn't update.

ezgif com-video-to-gif

Console

console

2)

when triggered in an inline delimiter the cursor position appears one character before the set cursor position and two characters before the set cursor position when in boxed delimiters.

yjprgbyq51

  1. When triggering a snippet after a line that is six characters or more the set cursor position is always displayed at the sixth position of the line.
    cxmmlwkcsd

I think this explains what is happening in 1) and 2)

Environment

  • Version : 0.11.6
  • OS Version and name : Windows 10
@sosukesuzuki sosukesuzuki added the bug 🐛 Issue concerns a bug. label Jun 14, 2018
@IssueHuntBot
Copy link

@BoostIO funded this issue with $20. Visit this issue on Issuehunt

@IssueHuntBot
Copy link

@daiyam has started working. See it on IssueHunt

@IssueHuntBot
Copy link

@kazup01 has rewarded. See it on IssueHunt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 Issue concerns a bug.
Projects
None yet
Development

No branches or pull requests

4 participants