mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-06-02 08:21:00 +00:00
* 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
This commit is contained in:
parent
9c6ba60d9c
commit
26c97541eb
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2011-07-03 Eric Wasylishen <ewasylishen@gmail.com>
|
||||||
|
|
||||||
|
* Source/NSTextView.m: Use respectFraction: YES when deciding whether
|
||||||
|
to do a word selection upon a right click
|
||||||
|
|
||||||
2011-07-03 Eric Wasylishen <ewasylishen@gmail.com>
|
2011-07-03 Eric Wasylishen <ewasylishen@gmail.com>
|
||||||
|
|
||||||
* TextConverters/RTF/RTFProducer.m: Writing of NSLinkAttributeName; reading
|
* TextConverters/RTF/RTFProducer.m: Writing of NSLinkAttributeName; reading
|
||||||
|
|
|
@ -5679,7 +5679,7 @@ static const NSInteger GSSpellingSuggestionMenuItemTag = 1;
|
||||||
NSMenu *menu = [[self class] defaultMenu];
|
NSMenu *menu = [[self class] defaultMenu];
|
||||||
NSPoint point = [self convertPoint: [theEvent locationInWindow] fromView: nil];
|
NSPoint point = [self convertPoint: [theEvent locationInWindow] fromView: nil];
|
||||||
NSUInteger index = [self _characterIndexForPoint: point
|
NSUInteger index = [self _characterIndexForPoint: point
|
||||||
respectFraction: NO];
|
respectFraction: YES];
|
||||||
|
|
||||||
if (_tf.is_selectable == NO)
|
if (_tf.is_selectable == NO)
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue