diff options
author | stuconnolly <stuart02@gmail.com> | 2010-03-31 18:24:37 +0000 |
---|---|---|
committer | stuconnolly <stuart02@gmail.com> | 2010-03-31 18:24:37 +0000 |
commit | 786a51fb9539858aa8974d9fd93e9410867ee08d (patch) | |
tree | 5c27f959e01e3b4310009d93f29d5f9fcdb32eea /Source/CMTextView.m | |
parent | ef9f2de4c69410664f5c75db6b512138c7df72aa (diff) | |
download | sequelpro-786a51fb9539858aa8974d9fd93e9410867ee08d.tar.gz sequelpro-786a51fb9539858aa8974d9fd93e9410867ee08d.tar.bz2 sequelpro-786a51fb9539858aa8974d9fd93e9410867ee08d.zip |
More tidy up. Constants and functions.
Diffstat (limited to 'Source/CMTextView.m')
-rw-r--r-- | Source/CMTextView.m | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/Source/CMTextView.m b/Source/CMTextView.m index 004eea93..fae2554a 100644 --- a/Source/CMTextView.m +++ b/Source/CMTextView.m @@ -85,7 +85,6 @@ static inline CGFloat SPRectRight(NSRect rectangle) { return rectangle.origin.x+ static inline CGFloat SPPointDistance(NSPoint a, NSPoint b) { return sqrt( (a.x-b.x)*(a.x-b.x) + (a.y-b.y)*(a.y-b.y) ); } static inline NSPoint SPPointOnLine(NSPoint a, NSPoint b, CGFloat t) { return NSMakePoint(a.x*(1.-t) + b.x*t, a.y*(1.-t) + b.y*t); } - @implementation CMTextView @synthesize queryHiliteColor; |