aboutsummaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
Diffstat (limited to 'Source')
-rw-r--r--Source/SPCopyTable.h (renamed from Source/CMCopyTable.h)4
-rw-r--r--Source/SPCopyTable.m (renamed from Source/CMCopyTable.m)6
-rw-r--r--Source/SPCustomQuery.h4
-rw-r--r--Source/SPCustomQuery.m2
-rw-r--r--Source/SPTableContent.h4
-rw-r--r--Source/SPTableContent.m6
-rw-r--r--Source/SPTextView.h2
-rw-r--r--Source/SPTextViewAdditions.m4
8 files changed, 16 insertions, 16 deletions
diff --git a/Source/CMCopyTable.h b/Source/SPCopyTable.h
index c7a6280a..d13a61f5 100644
--- a/Source/CMCopyTable.h
+++ b/Source/SPCopyTable.h
@@ -1,7 +1,7 @@
//
// $Id$
//
-// CMCopyTable.h
+// SPCopyTable.h
// sequel-pro
//
// Created by Stuart Glenn on Wed Apr 21 2004.
@@ -38,7 +38,7 @@
is in similar format. The values for each cell are obtained via the
objects description method
*/
-@interface CMCopyTable : SPTableView
+@interface SPCopyTable : SPTableView
{
id tableInstance; // the table content view instance
id mySQLConnection; // current MySQL connection
diff --git a/Source/CMCopyTable.m b/Source/SPCopyTable.m
index 909dfa3d..6a65a934 100644
--- a/Source/CMCopyTable.m
+++ b/Source/SPCopyTable.m
@@ -1,7 +1,7 @@
//
// $Id$
//
-// CMCopyTable.m
+// SPCopyTable.m
// sequel-pro
//
// Created by Stuart Glenn on Wed Apr 21 2004.
@@ -24,7 +24,7 @@
#import <MCPKit/MCPKit.h>
-#import "CMCopyTable.h"
+#import "SPCopyTable.h"
#import "SPArrayAdditions.h"
#import "SPStringAdditions.h"
#import "SPTableContent.h"
@@ -39,7 +39,7 @@ NSInteger MENU_EDIT_COPY = 2001;
NSInteger MENU_EDIT_COPY_WITH_COLUMN = 2002;
NSInteger MENU_EDIT_COPY_AS_SQL = 2003;
-@implementation CMCopyTable
+@implementation SPCopyTable
- (void)copy:(id)sender
{
diff --git a/Source/SPCustomQuery.h b/Source/SPCustomQuery.h
index 149417b9..c1521390 100644
--- a/Source/SPCustomQuery.h
+++ b/Source/SPCustomQuery.h
@@ -27,7 +27,7 @@
#import <MCPKit/MCPKit.h>
#import <WebKit/WebKit.h>
-#import "CMCopyTable.h"
+#import "SPCopyTable.h"
#import "SPTextView.h"
#import "RegexKitLite.h"
@@ -76,7 +76,7 @@
IBOutlet NSPopUpButton *encodingPopUp;
IBOutlet SPTextView *textView;
- IBOutlet CMCopyTable *customQueryView;
+ IBOutlet SPCopyTable *customQueryView;
IBOutlet NSScrollView *customQueryScrollView;
IBOutlet id errorText;
IBOutlet id affectedRowsText;
diff --git a/Source/SPCustomQuery.m b/Source/SPCustomQuery.m
index c2a480c6..939b0b9f 100644
--- a/Source/SPCustomQuery.m
+++ b/Source/SPCustomQuery.m
@@ -1663,7 +1663,7 @@
/**
* This function changes the text color of text/blob fields whose content is NULL.
*/
-- (void)tableView:(CMCopyTable *)aTableView willDisplayCell:(id)cell forTableColumn:(NSTableColumn*)aTableColumn row:(NSInteger)rowIndex
+- (void)tableView:(SPCopyTable *)aTableView willDisplayCell:(id)cell forTableColumn:(NSTableColumn*)aTableColumn row:(NSInteger)rowIndex
{
if (aTableView == customQueryView) {
diff --git a/Source/SPTableContent.h b/Source/SPTableContent.h
index 15059b6d..52828965 100644
--- a/Source/SPTableContent.h
+++ b/Source/SPTableContent.h
@@ -28,7 +28,7 @@
#import <Cocoa/Cocoa.h>
#import <MCPKit/MCPKit.h>
-@class CMCopyTable, SPTextAndLinkCell, SPHistoryController, SPTableInfo, SPDataStorage;
+@class SPCopyTable, SPTextAndLinkCell, SPHistoryController, SPTableInfo, SPDataStorage;
@interface SPTableContent : NSObject
{
@@ -40,7 +40,7 @@
IBOutlet SPTableInfo *tableInfoInstance;
IBOutlet SPHistoryController *spHistoryControllerInstance;
- IBOutlet CMCopyTable *tableContentView;
+ IBOutlet SPCopyTable *tableContentView;
IBOutlet NSPopUpButton *fieldField;
IBOutlet id compareField;
IBOutlet id argumentField;
diff --git a/Source/SPTableContent.m b/Source/SPTableContent.m
index 795c9970..3f078b88 100644
--- a/Source/SPTableContent.m
+++ b/Source/SPTableContent.m
@@ -31,7 +31,7 @@
#import "SPTableInfo.h"
#import "SPTablesList.h"
#import "SPImageView.h"
-#import "CMCopyTable.h"
+#import "SPCopyTable.h"
#import "SPDataCellFormatter.h"
#import "SPTableData.h"
#import "SPQueryController.h"
@@ -2898,7 +2898,7 @@
return tableRowsCount;
}
-- (id)tableView:(CMCopyTable *)aTableView objectValueForTableColumn:(NSTableColumn *)aTableColumn row:(NSInteger)rowIndex
+- (id)tableView:(SPCopyTable *)aTableView objectValueForTableColumn:(NSTableColumn *)aTableColumn row:(NSInteger)rowIndex
{
NSUInteger columnIndex = [[aTableColumn identifier] integerValue];
id theValue = nil;
@@ -2934,7 +2934,7 @@
/**
* This function changes the text color of text/blob fields which are null or not yet loaded to gray
*/
-- (void)tableView:(CMCopyTable *)aTableView willDisplayCell:(id)cell forTableColumn:(NSTableColumn*)aTableColumn row:(NSInteger)rowIndex
+- (void)tableView:(SPCopyTable *)aTableView willDisplayCell:(id)cell forTableColumn:(NSTableColumn*)aTableColumn row:(NSInteger)rowIndex
{
if (![cell respondsToSelector:@selector(setTextColor:)]) return;
diff --git a/Source/SPTextView.h b/Source/SPTextView.h
index 867d38f6..9730151c 100644
--- a/Source/SPTextView.h
+++ b/Source/SPTextView.h
@@ -26,7 +26,7 @@
#import <MCPKit/MCPKit.h>
#import "NoodleLineNumberView.h"
-#import "CMCopyTable.h"
+#import "SPCopyTable.h"
#define SP_TEXT_SIZE_TRIGGER_FOR_PARTLY_PARSING 10000
diff --git a/Source/SPTextViewAdditions.m b/Source/SPTextViewAdditions.m
index 97c0e07c..b3f68000 100644
--- a/Source/SPTextViewAdditions.m
+++ b/Source/SPTextViewAdditions.m
@@ -435,8 +435,8 @@
- (void) magnifyWithEvent:(NSEvent *)anEvent
{
- //Avoid font resizing for NSTextViews in CMCopyTable or NSTableView
- if([[[[self delegate] class] description] isEqualToString:@"CMCopyTable"]
+ //Avoid font resizing for NSTextViews in SPCopyTable or NSTableView
+ if([[[[self delegate] class] description] isEqualToString:@"SPCopyTable"]
|| [[[[self delegate] class] description] isEqualToString:@"NSTableView"]) return;
if([anEvent deltaZ]>5.0)