X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Fthecheat;a=blobdiff_plain;f=CheatDocument.m;h=5589fc8f2ebcf5ff6e9b22433150487ed15d57bf;hp=1810c770125d01f00f4bc581bc215452707da123;hb=179538478d0db2e5f8f2b50ccb3ff889b474aa01;hpb=ad02580588e2ca41f15ba8f9bd084561d8d485c2 diff --git a/CheatDocument.m b/CheatDocument.m index 1810c77..5589fc8 100644 --- a/CheatDocument.m +++ b/CheatDocument.m @@ -78,6 +78,7 @@ Process static *_tc_target = nil; _cheatData = [[CheatData alloc] init]; _searchData = [[SearchData alloc] init]; + [_searchData setProcess:_process]; // show search mode when documents are first created _connectsOnOpen = YES; @@ -191,7 +192,7 @@ Process static *_tc_target = nil; // ############################################################################# - (NSData *)dataRepresentationOfType:(NSString *)type -{ +{ return [NSArchiver archivedDataWithRootObject:_cheatData]; }