prettify deletes bookmarks
theGhostJW opened this issue · comments
theGhostJW commented
bookmarks in a file are deleted when prettify is invoked (windows).
to reproduce: add bookmarks -> prettify -> ()
Nikolay Yakimov commented
Since prettify rewrites whole file, I'm not sure how one would keep bookmarks. Line numbers can change, and there's no direct way of knowing what lines went where...
theGhostJW commented
If bookmarks are present insert one line comments above that line number in text pre-pettify then record remove and re set bookmarks after completion ???? would that work?
Nikolay Yakimov commented
Comments can change the result though, especially in case of stylish-haskell...