atom / snippets

Atom snippets package
MIT License
206 stars 102 forks source link

Shift Tab Moves Contents Of Buffer #298

Open edzkite opened 4 years ago

edzkite commented 4 years ago

Prerequisites

Description

Within a snippet, pressing shift+TAB to go to the previous tab stop results in the buffer being tabbed back.

The command palette displays editor:outdent-selected-rows as the first event, over snippets:previous-tab-stop

Steps to Reproduce

  1. Within a Python file, I type ase inserting a snippet.
  2. Press tab to go to next stop
  3. Press shift tab, observe that previous stop is highlighted, but buffer is moved back as well.

Expected behavior:

Only previous stop gets highlighted, buffer remains.

Actual behavior:

Previous stop is highlighted, buffer is shifted back.

Reproduces how often:

100%

Versions

Atom    : 1.42.0
Electron: 4.2.7
Chrome  : 69.0.3497.128
Node    : 10.11.0
apm  2.4.3
npm  6.2.0
node 10.2.1 x64
atom 1.42.0
python 2.7.15
git 2.21.0

OS: macOS 10.15.2

Additional Information