From 39011c43ca398d9c8c259d0bbac43b0422a9cd3f Mon Sep 17 00:00:00 2001 From: CaS Date: Sun, 13 Oct 2002 10:13:38 +0000 Subject: [PATCH] Fix error in last mod. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14759 72102866-910b-0410-8b05-ffd578937521 --- Source/NSTextView.m | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Source/NSTextView.m b/Source/NSTextView.m index b52a13ac0..af3f1196d 100644 --- a/Source/NSTextView.m +++ b/Source/NSTextView.m @@ -1579,8 +1579,8 @@ static NSNotificationCenter *nc; example, we need to use bold for further insertions - this is why we take the attributes from range.location - 1. */ - dict = [_textStorage attributesAtIndex: (charRange.location - 1) - effectiveRange: NULL]; + dict = [_textStorage attributesAtIndex: + (charRange.location - 1) effectiveRange: NULL]; } else { @@ -1598,7 +1598,7 @@ static NSNotificationCenter *nc; { NSRange overlap; - if (flag == NO) + if (stillSelectingFlag == NO) { // FIXME // Make the selected range visible @@ -3701,7 +3701,7 @@ afterString in order over charRange. */ - (BOOL) rulerView: (NSRulerView*)ruler shouldRemoveMarker: (NSRulerMarker*)marker { - return [(id)[aMarker representedObject] isKindOfClass: [NSTextTab class]]; + return [(id)[marker representedObject] isKindOfClass: [NSTextTab class]]; } /**