Remove unused method

This commit is contained in:
Bjorn Winckler
2008-08-12 20:47:16 +02:00
parent 055d07bd87
commit ee84ad6010
2 changed files with 0 additions and 22 deletions
-2
View File
@@ -52,8 +52,6 @@
- (void)removeItemFromPlugInMenu:(NSMenuItem *)item;
#endif
- (void)setPreloadCacheSize:(int)size;
- (IBAction)newWindow:(id)sender;
- (IBAction)newWindowAndActivate:(id)sender;
- (IBAction)fileOpen:(id)sender;
-20
View File
@@ -858,26 +858,6 @@ fsEventCallback(ConstFSEventStreamRef streamRef,
}
#endif
- (void)setPreloadCacheSize:(int)size
{
if (size < 0) return;
int count = [cachedVimControllers count];
if (0 == size) {
// Disable quickstart
[self clearPreloadCacheWithCount:-1];
[self stopWatchingVimDir];
} else if (count > size) {
// Cache size decreased
[self clearPreloadCacheWithCount:count-size];
} else if (count < size) {
// Cache size increased
[self scheduleVimControllerPreloadAfterDelay:1.0];
[self startWatchingVimDir];
}
}
- (IBAction)newWindow:(id)sender
{
// A cached controller requires no loading times and results in the new