tab-control icon indicating copy to clipboard operation
tab-control copied to clipboard

Tab length setting lost on save

Open ricardograca opened this issue 8 years ago • 0 comments

This is probably related with the auto-detect feature of Atom, but it seems that with some recent version of Atom tab-control is ignored and reset back to the value present in settings (for tab-length only) whenever a file is saved. The tab-control indicator still shows the tab settings I had manually chosen, but after switching to another file and back to the saved file it will show a setting that is equal to the Atom settings.

I would expect that what I set with the tab-control package sticks.

Steps to reproduce:

  1. Use tab-control to set tab length settings different from your Atom config
  2. Click Save

Results: The text editor immediately updates with a tab length different from the one set in tab-control.

Expected Results: The tab-length setting in tab-control is respected.

Not sure if it makes a difference, but in my Atom settings I have soft tabs active with a tab-length of 2 and the affected file has hard tabs with a tab-length of 4.

ricardograca avatar Feb 11 '16 15:02 ricardograca