Vasily-X / AutoFoldCode

A Sublime Text package that saves/restores folded code regions in files automatically.
25 stars 5 forks source link

feat: save selections #15

Closed acheronfail closed 3 years ago

acheronfail commented 3 years ago

This PR adds in the ability to save selections as well as code folds. It works exactly as before, but also adds a configurable option: save_selections: <boolean> which defaults to true.

Closes #14

acheronfail commented 3 years ago

Found a Sublime Text bug when implementing this: https://github.com/sublimehq/sublime_text/issues/3954

Turns out it's not a bug, just a quirk of how Sublime Text works.