Skip to content
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.

Interferes with simultaneous tab stop snippets #187

Open
1 task done
Aerijo opened this issue Feb 7, 2019 · 1 comment
Open
1 task done

Interferes with simultaneous tab stop snippets #187

Aerijo opened this issue Feb 7, 2019 · 1 comment

Comments

@Aerijo
Copy link

Aerijo commented Feb 7, 2019

Prerequisites

Description

When using a snippet with simultaneous tab stops, and the active tab stop is the end of the document (no trailing newline) the newline will also be inserted in the other tab stops.

Steps to Reproduce

  1. Add this snippet to your snippets.cson
"*":
  "has a transformed tab stop that occurs before the corresponding ordinary tab stop":
    prefix: 't16'
    body: """
    & ${1/(.)/\\u$1/} & ${1:q}
    """
  1. On the last line, expand the snippet t16

  2. Save

Expected behavior: [What you expect to happen]

& Q & q

Actual behavior: [What actually happens]

& Q
 & q

Reproduces how often: [What percentage of the time does it reproduce?]

100%

Versions

Atom beta 1.35.0

Additional Information

This is more of a memo to get back to, it's not a very impactful bug.

@Aerijo Aerijo changed the title Intereferes with simultaneous tab stop snippets Interferes with simultaneous tab stop snippets Feb 7, 2019
@rsese rsese added the triaged label Feb 7, 2019
@rsese
Copy link

rsese commented Feb 7, 2019

Thanks @Aerijo 🙇

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants