Skip to content

Commit

Permalink
added license and readme
Browse files Browse the repository at this point in the history
  • Loading branch information
JulianEberius committed Feb 11, 2010
1 parent 0ae5b84 commit a8f6041
Show file tree
Hide file tree
Showing 5 changed files with 117 additions and 760 deletions.
22 changes: 22 additions & 0 deletions LICENSE.txt
@@ -0,0 +1,22 @@
Copyright (c) 2010 Julian Eberius

Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documentation
files (the "Software"), to deal in the Software without
restriction, including without limitation the rights to use,
copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the
Software is furnished to do so, subject to the following
conditions:

The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
OTHER DEALINGS IN THE SOFTWARE.
2 changes: 1 addition & 1 deletion NSWindowController+Minimap.m
Expand Up @@ -97,7 +97,7 @@ - (void)MM_windowDidLoad
[minimapDrawer setLeadingOffset:24];
}
else if ([[self className] isEqualToString:@"OakDocumentController"]) {
[minimapDrawer setTrailingOffset:56];
[minimapDrawer setTrailingOffset:40];
[minimapDrawer setLeadingOffset:0];
}

Expand Down
15 changes: 15 additions & 0 deletions README
@@ -0,0 +1,15 @@
**Textmate-Minimap Plugin**
===========================

License:
MIT License (see LICENSE.txt)

**Usage**
----------
Hit ^~@m to Show/Hide the minimap (analogue to ^~@d for the project drawer), or use the menu item under "View". Click anywhere on the map to go to that line. That's basically it ;-)

**Known Problems**
------------------
There are some problems with bigger documents. On my late 2008 MacBook it runs fine with documents of <1000 lines, which is ok for my editing needs (as we know, classes shouldn't get that big anyway ^^)
I'm sure there are a lot of unexplored ways to make it faster, such as more drawing in the background, and incremental drawing etc...
Maybe I can incorporate some of them in the future.
23 changes: 10 additions & 13 deletions Textmate-Minimap.xcodeproj/ebi.mode1v3
Expand Up @@ -318,19 +318,19 @@
<key>PBXProjectModuleGUID</key>
<string>1CE0B20306471E060097A5F4</string>
<key>PBXProjectModuleLabel</key>
<string>TextMateMinimap.m</string>
<string>NSWindowController+Minimap.m</string>
<key>PBXSplitModuleInNavigatorKey</key>
<dict>
<key>Split0</key>
<dict>
<key>PBXProjectModuleGUID</key>
<string>1CE0B20406471E060097A5F4</string>
<key>PBXProjectModuleLabel</key>
<string>TextMateMinimap.m</string>
<string>NSWindowController+Minimap.m</string>
<key>_historyCapacity</key>
<integer>0</integer>
<key>bookmark</key>
<string>0458D5211124736D002550F2</string>
<string>041FFA291124790500D8C5BD</string>
<key>history</key>
<array>
<string>04DB4425110F285900762426</string>
Expand All @@ -346,15 +346,15 @@
<string>0458D4F511246AAE002550F2</string>
<string>0458D4F711246AAE002550F2</string>
<string>0458D4FA11246AAE002550F2</string>
<string>0458D4FD11246AAE002550F2</string>
<string>0458D50F11246B1F002550F2</string>
<string>0458D51011246B1F002550F2</string>
<string>0458D51111246B1F002550F2</string>
<string>0458D51D1124736D002550F2</string>
<string>0458D51E1124736D002550F2</string>
<string>0458D51F1124736D002550F2</string>
<string>0458D5201124736D002550F2</string>
<string>0458D50D11246B1F002550F2</string>
<string>041FFA12112478EA00D8C5BD</string>
<string>041FFA13112478EA00D8C5BD</string>
<string>0458D4FD11246AAE002550F2</string>
</array>
</dict>
<key>SplitCount</key>
Expand Down Expand Up @@ -412,9 +412,9 @@
</array>
<key>TableOfContents</key>
<array>
<string>0458D46511244FFA002550F2</string>
<string>041FFA15112478EA00D8C5BD</string>
<string>1CE0B1FE06471DED0097A5F4</string>
<string>0458D46611244FFA002550F2</string>
<string>041FFA16112478EA00D8C5BD</string>
<string>1CE0B20306471E060097A5F4</string>
<string>1CE0B20506471E060097A5F4</string>
</array>
Expand Down Expand Up @@ -552,7 +552,6 @@
<integer>5</integer>
<key>WindowOrderList</key>
<array>
<string>1C530D57069F1CE1000CFCEE</string>
<string>047C7E4B110F278C00CC049E</string>
<string>/Users/ebi/dev/Textmate-Minimap/Textmate-Minimap.xcodeproj</string>
</array>
Expand All @@ -578,7 +577,7 @@
<key>PBXProjectModuleGUID</key>
<string>1CD0528F0623707200166675</string>
<key>PBXProjectModuleLabel</key>
<string>TextMateMinimap.m</string>
<string></string>
<key>StatusBarVisibility</key>
<true/>
</dict>
Expand All @@ -595,8 +594,6 @@
<string>229pt</string>
</dict>
<dict>
<key>BecomeActive</key>
<true/>
<key>ContentConfiguration</key>
<dict>
<key>PBXProjectModuleGUID</key>
Expand Down Expand Up @@ -636,7 +633,7 @@
<key>TableOfContents</key>
<array>
<string>047C7E4B110F278C00CC049E</string>
<string>0458D45911244FD1002550F2</string>
<string>041FFA17112478EA00D8C5BD</string>
<string>1CD0528F0623707200166675</string>
<string>XCMainBuildResultsModuleGUID</string>
</array>
Expand Down

0 comments on commit a8f6041

Please sign in to comment.