From 259750a6d667e755cbe1b0193463f3c5133fdf20 Mon Sep 17 00:00:00 2001 From: rowanbeentje Date: Wed, 28 Aug 2013 00:27:24 +0000 Subject: - Fix an uninitialised value in the custom query line number view which could cause an exception if the window was dragged very quickly near the top of the text view ruler (http://spbug.com/l/2344) --- Source/NoodleLineNumberView.m | 1 + 1 file changed, 1 insertion(+) (limited to 'Source') diff --git a/Source/NoodleLineNumberView.m b/Source/NoodleLineNumberView.m index 39b435f7..1d58bbed 100644 --- a/Source/NoodleLineNumberView.m +++ b/Source/NoodleLineNumberView.m @@ -85,6 +85,7 @@ typedef NSRange (*RangeOfLineIMP)(id object, SEL selector, NSRange range); maxHeightOfGlyph = s.height; [self updateGutterThicknessConstants]; currentRuleThickness = 0.0f; + dragSelectionStartLine = NSNotFound; // Cache loop methods for speed lineNumberForCharacterIndexSel = @selector(lineNumberForCharacterIndex:); -- cgit v1.2.3