brackets-beautify icon indicating copy to clipboard operation
brackets-beautify copied to clipboard

brackets-beautify deletes selection on file save

Open MikeTheGreat opened this issue 8 years ago • 0 comments

I'm running Windows 7. I'm using Brackets Release 1.7 build 1.7.0-16898 (release b0a363b71) (build timestamp: Wed Jun 08 2016 12:27:56 GMT+0100) I'm using brackets-beautify 1.0.2. I have the Edit > Beautify On Save option set.

When I change the file, select some text, and then save the file then all the text in the selection is deleted. To repro:

  1. open a file
  2. select some text
  3. hit 'tab' to move it over (or whatever)
  4. Control+S to save
  5. Observe the newly missing text :)

Note: I don't have any other extensions installed for Brackets. Also: when I disabled Beautify and tried to repro the bug I did NOT see the text disappear. Upon re-enabling Beautify the bug happened again.

MikeTheGreat avatar Nov 16 '16 18:11 MikeTheGreat