Permalink
Browse files

Results collapse/expand, rev to version 1.1

  • Loading branch information...
1 parent da63102 commit 44f1579b11e876eed1ba03044d6ab945f7a68d30 @protocool committed Apr 23, 2010
@@ -24,6 +24,8 @@
69C43B0B112A361C007AC1C1 /* JPAckProcess+Parsing.m.rl in Sources */ = {isa = PBXBuildFile; fileRef = 69C43B05112A361C007AC1C1 /* JPAckProcess+Parsing.m.rl */; };
69C43B0C112A361C007AC1C1 /* JPAckResultSource.m in Sources */ = {isa = PBXBuildFile; fileRef = 69C43B07112A361C007AC1C1 /* JPAckResultSource.m */; };
69C43B0D112A361C007AC1C1 /* JPAckWindowController.m in Sources */ = {isa = PBXBuildFile; fileRef = 69C43B09112A361C007AC1C1 /* JPAckWindowController.m */; };
+ 69D7008D118115CA008A6125 /* ackmateCollapse.pdf in Resources */ = {isa = PBXBuildFile; fileRef = 69D7008B118115CA008A6125 /* ackmateCollapse.pdf */; };
+ 69D7008E118115CA008A6125 /* ackmateExpand.pdf in Resources */ = {isa = PBXBuildFile; fileRef = 69D7008C118115CA008A6125 /* ackmateExpand.pdf */; };
8D5B49B0048680CD000E48DA /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 089C167DFE841241C02AAC07 /* InfoPlist.strings */; };
8D5B49B4048680CD000E48DA /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1058C7ADFEA557BF11CA2CBB /* Cocoa.framework */; };
/* End PBXBuildFile section */
@@ -91,6 +93,8 @@
69C43B07112A361C007AC1C1 /* JPAckResultSource.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = JPAckResultSource.m; sourceTree = "<group>"; };
69C43B08112A361C007AC1C1 /* JPAckWindowController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JPAckWindowController.h; sourceTree = "<group>"; };
69C43B09112A361C007AC1C1 /* JPAckWindowController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = JPAckWindowController.m; sourceTree = "<group>"; };
+ 69D7008B118115CA008A6125 /* ackmateCollapse.pdf */ = {isa = PBXFileReference; lastKnownFileType = image.pdf; name = ackmateCollapse.pdf; path = ../../ackmate/AckMate/bundle_extras/ackmateCollapse.pdf; sourceTree = SOURCE_ROOT; };
+ 69D7008C118115CA008A6125 /* ackmateExpand.pdf */ = {isa = PBXFileReference; lastKnownFileType = image.pdf; name = ackmateExpand.pdf; path = ../../ackmate/AckMate/bundle_extras/ackmateExpand.pdf; sourceTree = SOURCE_ROOT; };
8D5B49B6048680CD000E48DA /* AckMate.tmplugin */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = AckMate.tmplugin; sourceTree = BUILT_PRODUCTS_DIR; };
8D5B49B7048680CD000E48DA /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
D2F7E65807B2D6F200F64583 /* CoreData.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreData.framework; path = /System/Library/Frameworks/CoreData.framework; sourceTree = "<absolute>"; };
@@ -188,6 +192,8 @@
69B8C4BC112A370200EB45AF /* bundle_extras */ = {
isa = PBXGroup;
children = (
+ 69D7008B118115CA008A6125 /* ackmateCollapse.pdf */,
+ 69D7008C118115CA008A6125 /* ackmateExpand.pdf */,
69B8C4BD112A371A00EB45AF /* ackmate_ack.autogenerated */,
);
path = bundle_extras;
@@ -307,6 +313,8 @@
8D5B49B0048680CD000E48DA /* InfoPlist.strings in Resources */,
69B8C4BE112A371A00EB45AF /* ackmate_ack.autogenerated in Resources */,
69B8C4E6112A383600EB45AF /* JPAckWindow.xib in Resources */,
+ 69D7008D118115CA008A6125 /* ackmateCollapse.pdf in Resources */,
+ 69D7008E118115CA008A6125 /* ackmateExpand.pdf in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
View
@@ -19,7 +19,7 @@
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
- <string>1.0.2</string>
+ <string>1.1.0</string>
<key>NSPrincipalClass</key>
<string>AckMatePlugin</string>
</dict>
View
@@ -4,6 +4,12 @@
*This plugin is only compatible with Mac OS X 10.5 and above.*
+## Donations
+
+Like many of you, I do this sort of thing to keep my family warm, clothed, and fed. Every hour I spend on AckMate is an hour that I'm not billing for.
+
+If you find AckMate useful, a small [donation](http://pledgie.com/campaigns/9779) is a great way to show your appreciation.
+
## Binary Installation
* Download the latest release from the [downloads section](http://github.com/protocool/AckMate/downloads)
Binary file not shown.
Binary file not shown.
@@ -23,6 +23,15 @@ - (id)initWithPlugInController:(id <TMPlugInController>)aController
ackWindows = [[NSMutableDictionary alloc] initWithCapacity:0];
[self installMenuItems];
[self loadPluginPreferences];
+
+ // Load up our bundle images
+ NSBundle* pluginBundle = [NSBundle bundleForClass:[self class]];
+ NSString* collapseImagePath = [pluginBundle pathForResource:@"ackmateCollapse" ofType:@"pdf"];
+ NSImage* collapseImage = [[NSImage alloc] initWithContentsOfFile:collapseImagePath];
+ [collapseImage setName:@"ackmateCollapse"];
+ NSString* expandImagePath = [pluginBundle pathForResource:@"ackmateExpand" ofType:@"pdf"];
+ NSImage* expandImage = [[NSImage alloc] initWithContentsOfFile:expandImagePath];
+ [expandImage setName:@"ackmateExpand"];
}
return self;
}
@@ -3,23 +3,24 @@
#import <Cocoa/Cocoa.h>
-@class JPAckResult;
+@class JPAckResultRep;
@class JPAckWindowController;
+@class JPAckResultTableView;
@interface JPAckResultSource : NSObject {
NSUInteger matchedFiles;
NSUInteger matchedLines;
- NSMutableArray* resultLines;
+ NSMutableArray* resultRows;
NSDictionary* headingAttributes;
NSDictionary* bodyAttributes;
NSDictionary* bodyNowrapAttributes;
NSDictionary* bodyHighlightAttributes;
- IBOutlet NSTableView* resultView;
+ IBOutlet JPAckResultTableView* resultView;
IBOutlet JPAckWindowController* windowController;
- JPAckResult* currentResultFile;
+ JPAckResultRep* currentResultFileRep;
NSString* resultStats;
BOOL searchingSelection;
Oops, something went wrong.

0 comments on commit 44f1579

Please sign in to comment.