I spoke a bit too soon. There are a couple of [NSUndoManager
setActionName:] calls that still need to be removed:
Index: BibDocument+Scripting.m
===================================================================
--- BibDocument+Scripting.m (revision 13375)
+++ BibDocument+Scripting.m (working copy)
@@ -466,25 +466,23 @@
- (void)insertInSearchGroups:(BDSKSearchGroup *)group {
if ([group document]) {
NSScriptCommand *cmd = [NSScriptCommand currentCommand];
[cmd
setScriptErrorNumber:NSReceiversCantHandleCommandScriptError];
[cmd setScriptErrorString:NSLocalizedString(@"Cannot add
group.",@"Error description")];
} else {
[groups addSearchGroup:group];
- [[self undoManager]
setActionName:NSLocalizedString(@"AppleSearch",@"Undo action name for
AppleSearch")];
}
}
- (void)insertObject:(BDSKSearchGroup *)group inSearchGroupsAtIndex:
(unsigned int)idx {
[self insertInSearchGroups:group];
}
- (void)removeObjectFromSearchGroupsAtIndex:(unsigned int)idx {
[groups removeSearchGroup:[[groups searchGroups] objectAtIndex:idx]];
- [[self undoManager]
setActionName:NSLocalizedString(@"AppleSearch",@"Undo action name for
AppleSearch")];
}
#pragma mark -
- (NSArray *)sharedGroups {
return [groups sharedGroups];
}
Thanks!
-Colin
On Jun 4, 2008, at 13:07, Colin A. Smith wrote:
> Great. They appear to work for me.
>
> -Colin
>
> On Jun 3, 2008, at 4:56, Christiaan Hofman wrote:
>
>> Thanks. I made changes to fix these bugs, though in completely
>> different places from your patches. Please test them in the next
>> nightly build.
>>
>> Christiaan
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Bibdesk-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bibdesk-develop