julianeberius / textmate-minimap Goto Github PK
View Code? Open in Web Editor NEWA minimap plugin for TextMate.
Home Page: http://julianeberius.github.com/Textmate-Minimap/
License: Other
A minimap plugin for TextMate.
Home Page: http://julianeberius.github.com/Textmate-Minimap/
License: Other
Hi, I think the mini-map should scroll just like Sublime Text, mousewheel over the mini-map and I can quickly scan my file.
When using 'Find', Textmate changes what's selected, but Minimap doesn't update that until you hit escape twice, once for the 'Find' window a second time seems to update the Minimap finally.
Same goes with 'Command-E' and 'Command-G' on selected text. 'Command-G' (Find Next) traverses the document and selects the next occurrence of what was selected using 'Command-G', but Minimap doesn't update to reflect this selection change until you hit escape (in this case it's only required to press escape once).
Just as a side note:
The ultimate implementation of Minimap imho would be to use this in order to see all occurrences of a specific word in the current document. Unfortunately Textmate is missing the 'highlight all occurrences of the current selection' feature, that editors like Notepad++ have. This feature combined with Minimap would be a real boon to the community.
At the very least it would be great if 'Command-E' -> 'Command-G' was working with Minimap, it would be a step in the right direction.
It would be nice to be able to choose the color them used in the minimap panel, which by default uses the one chosen for the code as well.
... to be able to keep it on a second (portrait format) display.
It would be nice if rows bookmarked with Cmd-F2 were somehow highlighted in the minimap, perhaps as a colored row? I don't know if it's possible given how Textmate-Minimap seems to rely on TextMate's output, and TM does not - to my knowledge - provide bookmark highlighting apart from the little star in the gutter area. Still, perhaps worth looking into.
The website has git://github.com/julianEberius/Textmate-Minimap.git
as the download link. It should be git://github.com/JulianEberius/Textmate-Minimap.git
. Notice the J
in the username.
I want to be able to change the background colour of the minimap from black to something else. My screen is quite tall and so when I open files that don't use up the entire minimap space I want to be able to change the background colour of the container from the standard (#000000 black) to something else. This is because I often have windows behind Textmate e.g. Terminal which have a black background and it leads to confusion. (My Textmate colour scheme uses a white background)
Am I missing a setting somewhere that lets me do this or is this yet to be implemented? Thanks.
At the moment, the plugin uses NSOperations. Could be changed though...
My ENV is MAC OSX 10.7, TextMate Version 1.5.10 (1631).
Some time just open textmate for a while, my system become very slow, and CPU of TextMate cause is 100%(also distnoted agent will use another 100%).
I am not very sure it is caused by Minimap. but after I remove Minimap, seems everything goes well.
Buy the way, I like this app very much. Thanks a lot.
When resizing the minimap sidepane view all the way to the window border, it gets stuck and reverts the "Show/hide minimap" behaviour. I tried to resize it back by dragging the minimap to the window border when it's hidden (so actually showing, because it's reversed), but now my minimap disappeared entirely.
How do I fix this? Reinstalling didn't help, I'm trying to find a config file now, but I'm not all too experienced :)
... like MissingDrawer or ProjectPlus do for the project drawer.
Important: make this function compatible with both MD's and PP's sidebar function (two sidebars on both sides of the main window)
Hello,
i just tried your plugin, while editing a larger LaTeX file with lots of folded sections. When clicking into a text section, folded parts unfold, even if the region is not near the clicked area in the map.
Greets,
Bernhard
I think it's quite hard to actually see where the selection box is in the minimap.Perhaps adding options for selecting the color of the border of the selection box, the width of border and an overlay color that is transparent. Have a look at Sublime Text: http://www.sublimetext.com/
If the minimap is shorter than the height of the available space for it, then clicking anywhere on the minimap becomes out‐of‐sync with the actual target of the click: the position in the document of the click seems to be proportional to the visible area as if the minimap were the exact height of the window, not the actual height it is.
For instance, if the minimap is only taking up 50% of the height of the window, and I click on the middle of the document as it is displayed in the minimap… the actual selection point in the document ends up being a quarter of the way through it; because the position I clicked was 25% down the visible height of the window.
When using MiniMap last master rev, TM launches fine, but when I select a code file (Objective-J), I got nothing displayed. There are the scrollers, but the main view keeps displaying the big textmate icon.
I use the following plugins:
Thanks,
I have the MissingDrawer plugin installed and if I enable the "Show in sidepane" option the side pane from the missing drawer plugin gets a white background color instead of the default blue-like background color it should have (same as Finder).
I have my drawer on the right, and I like having it there. Can we have an option somewhere so that the map can be opened on the left instead?
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.
I've reported this bug first on textmates bugtracker at http://ticket.macromates.com/show?ticket_id=57E629A7
See there for details and stacktraces. :-)
When I try to download any of the files in Downloads, I get the following error message:
AccessDenied
Access Denied
82EB365CE922039D
−
09TGJ1F+57xbBTP/EW+1LzU4awpGMgoPYi2uAo1u6vxOoKfVX1iVQKG/WxzkPme9
I think it would be nice if it would be possible to drag the selection box in the minimap. I'm think like how it works in Sublime Text: http://www.sublimetext.com/
if there is no screen space to show it, just like the project drawer does.
Suggested by Michael Bond
In code with really long lines, minimap renders the whole document (well past what the current viewport can see) and then squishes this horizontally to fit the minimap viewport. This results in a really blurry, hard-to-see minimap.
It would be nice if minimap cropped the minimap view to only show what the current text view can see, horizontally. Failing that, simply having a scaling factor to determine the maximum allowable width would be nice. (That is, if n lines are shown in the minmap, the minimap is cropped at n*k pixels in width -- before scaling, of course.)
Firstly, this is an awesome plugin — great idea, great work so far.
I've found a deal breaker (for now) issue. I use Textmate for reviewing git commit lists and entering comments. When closing the temporary window Textmate usually sends buffer output to Terminal thus proceeding with the commit, etc. This plugin, for some reason, breaks that flow.
If I knew any Objective-C at all I'd just patch and commit this, thanks again for the sweet idea/plugin.
If you drag the minimap until it's hidden, the text on the view menu still is "Hide minimap" but when you click it, it shows the minimap, and then the text changes to "Show minimap" (But now it actually hides it).
...in the minimap - easier select a bunch of paragraphs without scrolling in the actual document.
Similar to issue #8
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.