Skip to content

Instantly share code, notes, and snippets.

@xnyhps
Created October 23, 2012 21:24
Show Gist options
  • Save xnyhps/3941693 to your computer and use it in GitHub Desktop.
Save xnyhps/3941693 to your computer and use it in GitHub Desktop.
diff -r ac9256ed67c2 Frameworks/AIUtilities Framework/Source/AILinkTrackingController.m
--- a/Frameworks/AIUtilities Framework/Source/AILinkTrackingController.m Fri Oct 12 17:42:56 2012 +0200
+++ b/Frameworks/AIUtilities Framework/Source/AILinkTrackingController.m Tue Oct 23 23:23:45 2012 +0200
@@ -414,4 +414,10 @@
[[NSPasteboard generalPasteboard] declareTypes:[NSArray arrayWithObject:NSRTFPboardType] owner:nil];
[[NSPasteboard generalPasteboard] setData:[copyString RTFFromRange:NSMakeRange(0,[copyString length]) documentAttributes:nil] forType:NSRTFPboardType];
}
+
+- (void)setRestrictToMainWindow:(BOOL)inRestrictToMainWindow
+{
+ restrictToMainWindow = inRestrictToMainWindow;
+}
+
@end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment