aboutsummaryrefslogtreecommitdiffstats
path: root/Source/NoodleLineNumberView.h
diff options
context:
space:
mode:
authorrowanbeentje <rowan@beent.je>2009-04-24 01:07:20 +0000
committerrowanbeentje <rowan@beent.je>2009-04-24 01:07:20 +0000
commit180579d026ffae575a25e698c279c465dbd1bd6b (patch)
tree8453037d233ffa6416215f920b05489dc3ebabbc /Source/NoodleLineNumberView.h
parent99cd06e66527beef638493b007c036929d5da283 (diff)
downloadsequelpro-180579d026ffae575a25e698c279c465dbd1bd6b.tar.gz
sequelpro-180579d026ffae575a25e698c279c465dbd1bd6b.tar.bz2
sequelpro-180579d026ffae575a25e698c279c465dbd1bd6b.zip
- Add support for click and click-and-drag selection when the line number view receives mouse events. Enables easy selection of lines.
Diffstat (limited to 'Source/NoodleLineNumberView.h')
-rw-r--r--Source/NoodleLineNumberView.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/NoodleLineNumberView.h b/Source/NoodleLineNumberView.h
index 7d12d47d..85316dd0 100644
--- a/Source/NoodleLineNumberView.h
+++ b/Source/NoodleLineNumberView.h
@@ -39,6 +39,9 @@
NSColor *textColor;
NSColor *alternateTextColor;
NSColor *backgroundColor;
+
+ // Add support for selection by clicking/dragging
+ unsigned dragSelectionStartLine;
}
- (id)initWithScrollView:(NSScrollView *)aScrollView;