From 26c97541eb3f6d3ec9550a4ee19bc4e1350f23f3 Mon Sep 17 00:00:00 2001 From: ericwa Date: Sun, 3 Jul 2011 20:53:44 +0000 Subject: [PATCH] * Source/NSTextView.m: Use respectFraction: YES when deciding whether to do a word selection upon a right click git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@33441 72102866-910b-0410-8b05-ffd578937521 --- ChangeLog | 5 +++++ Source/NSTextView.m | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 57525c494..2bffff02d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2011-07-03 Eric Wasylishen + + * Source/NSTextView.m: Use respectFraction: YES when deciding whether + to do a word selection upon a right click + 2011-07-03 Eric Wasylishen * TextConverters/RTF/RTFProducer.m: Writing of NSLinkAttributeName; reading diff --git a/Source/NSTextView.m b/Source/NSTextView.m index 2771d7ccc..22b1ac58d 100644 --- a/Source/NSTextView.m +++ b/Source/NSTextView.m @@ -5679,7 +5679,7 @@ static const NSInteger GSSpellingSuggestionMenuItemTag = 1; NSMenu *menu = [[self class] defaultMenu]; NSPoint point = [self convertPoint: [theEvent locationInWindow] fromView: nil]; NSUInteger index = [self _characterIndexForPoint: point - respectFraction: NO]; + respectFraction: YES]; if (_tf.is_selectable == NO) return;