aboutsummaryrefslogtreecommitdiffstats
path: root/TableDocument.m
diff options
context:
space:
mode:
authorabhibeckert <abhi@abhibeckert.com>2008-04-23 22:57:51 +0000
committerabhibeckert <abhi@abhibeckert.com>2008-04-23 22:57:51 +0000
commit6d8022abf13af1c4305aed80e2237d593ca0c9c0 (patch)
tree826ed015a97ab93bfd162f21ae997b10e859bee4 /TableDocument.m
parentec836138a8de2aca77e132f23b683912f6598d3a (diff)
downloadsequelpro-6d8022abf13af1c4305aed80e2237d593ca0c9c0.tar.gz
sequelpro-6d8022abf13af1c4305aed80e2237d593ca0c9c0.tar.bz2
sequelpro-6d8022abf13af1c4305aed80e2237d593ca0c9c0.zip
change main split view to have a 1px line
change header comment in TableDocument.h/m to reflect change in author re-group files in xcode
Diffstat (limited to 'TableDocument.m')
-rw-r--r--TableDocument.m29
1 files changed, 15 insertions, 14 deletions
diff --git a/TableDocument.m b/TableDocument.m
index b25e79b0..c7b1dc71 100644
--- a/TableDocument.m
+++ b/TableDocument.m
@@ -4,6 +4,8 @@
//
// Created by lorenz textor (lorenz@textor.ch) on Wed May 01 2002.
// Copyright (c) 2002-2003 Lorenz Textor. All rights reserved.
+//
+// Forked by Abhi Beckert (abhibeckert.com) 2008-04-04
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
@@ -20,7 +22,6 @@
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
//
// More info at <http://code.google.com/p/sequel-pro/>
-// Or mail to <lorenz@textor.ch>
#import "TableDocument.h"
#import "KeyChain.h"
@@ -1404,30 +1405,30 @@ invoked when query gave an error
[self showErrorInConsole:[NSString stringWithFormat:@"/* ERROR %@ */ %@;\n", currentTime, error]];
}
+#pragma mark SplitView delegate methods
-//splitView delegate methods
+/**
+ * tells the splitView that it can collapse views
+ */
- (BOOL)splitView:(NSSplitView *)sender canCollapseSubview:(NSView *)subview
-/*
-tells the splitView that it can collapse views
-*/
{
- return YES;
+ return YES;
}
+/**
+ * defines max position of splitView
+ */
- (float)splitView:(NSSplitView *)sender constrainMaxCoordinate:(float)proposedMax ofSubviewAt:(int)offset
-/*
-defines max position of splitView
-*/
{
- return proposedMax - 600;
+ return proposedMax - 600;
}
+/**
+ * defines min position of splitView
+ */
- (float)splitView:(NSSplitView *)sender constrainMinCoordinate:(float)proposedMin ofSubviewAt:(int)offset
-/*
-defines min position of splitView
-*/
{
- return proposedMin + 160;
+ return proposedMin + 160;
}