JulianEberius / Textmate-Minimap

A minimap plugin for TextMate.
http://julianeberius.github.com/Textmate-Minimap/
Other
180 stars 11 forks source link

Maintain show/hide state on new documents. #8

Closed jerodsanto closed 14 years ago

jerodsanto commented 14 years ago

The minimap is always showing on new documents, even if the current document has it hidden. Ideally new documents would inherit the show/hide state of the previous document.

JulianEberius commented 14 years ago

I think this is another issue for the future preference pane... maybe an option like: "new documents:" -> "inherit from last document", "always on", "always off".

Thinking about that, the state should also be maintained for all documents when they are saved and reopened ...

JulianEberius commented 14 years ago

should be fixed in release 0.6

jaylevitt commented 14 years ago

I'm on 0.7, and the minimap appears on every document, even if the preference is set to "never" and "same as new documents". Is that known, and if not, how can I troubleshoot? I'm on OS X 10.5.8, TextMate 1589.

JulianEberius commented 14 years ago

Strange, I can't reproduce the bug, neither on 1510 (latest official build), nor on 1589 (cutting-edge). Everything is working fine for me (although I'm on Snow Leopard, but I can't imagine how this would make a difference), no matter what combination of settings I use.

Really don't know how to help you on this one... maybe you can offer a more detailed description?

jaylevitt commented 14 years ago

Ah ha! I got it.. happens on Snow Leopard too. If you have the "Show in side bar" box checked, the minimap always appears, irrespective of the "Open/new document" preferences.

JulianEberius commented 14 years ago

My fault, you were completely right. Had fixed this bug in my personal development version and then forgot about it. I think there will be an 0.71 bugfix release shortly ;-) The fix is already in the repository, so if you want you can clone and build with Xcode

JulianEberius commented 14 years ago

Is fixed in 0.71 (if not, just write here again ;-) )