aboutsummaryrefslogtreecommitdiffstats
path: root/Source/NoodleLineNumberView.h
diff options
context:
space:
mode:
authorBibiko <bibiko@eva.mpg.de>2011-05-27 12:22:47 +0000
committerBibiko <bibiko@eva.mpg.de>2011-05-27 12:22:47 +0000
commit2b9e866614294bdf269947d03188dc4fa474dd23 (patch)
treea46bb828d4d103ee68cf3b7c83fbbe461e609160 /Source/NoodleLineNumberView.h
parent5c7a20ad6fee72b38b5190e5c306741ba954cee2 (diff)
downloadsequelpro-2b9e866614294bdf269947d03188dc4fa474dd23.tar.gz
sequelpro-2b9e866614294bdf269947d03188dc4fa474dd23.tar.bz2
sequelpro-2b9e866614294bdf269947d03188dc4fa474dd23.zip
• sped up line range calculation a bit
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 855f75ee..09805a4e 100644
--- a/Source/NoodleLineNumberView.h
+++ b/Source/NoodleLineNumberView.h
@@ -34,6 +34,7 @@
// Array of character indices for the beginning of each line
NSMutableArray *lineIndices;
+ NSUInteger currentNumberOfLines;
NSFont *font;
NSColor *textColor;
@@ -61,6 +62,8 @@
IMP numberWithUnsignedIntegerIMP;
SEL addObjectSel;
IMP addObjectIMP;
+ SEL rangeOfLineSel;
+ Class numberClass;
NSLayoutManager *layoutManager;
NSTextContainer *container;