mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-06-03 15:50:43 +00:00
Tidied
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8355 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
59ca4cbf71
commit
1ed1b965ee
1 changed files with 7 additions and 4 deletions
|
@ -63,7 +63,8 @@
|
||||||
{
|
{
|
||||||
NSArray *types;
|
NSArray *types;
|
||||||
|
|
||||||
types = [NSArray arrayWithObjects: NSStringPboardType, NSRTFPboardType, NSRTFDPboardType, nil];
|
types = [NSArray arrayWithObjects: NSStringPboardType,
|
||||||
|
NSRTFPboardType, NSRTFDPboardType, nil];
|
||||||
|
|
||||||
[[NSApplication sharedApplication] registerServicesMenuSendTypes: types
|
[[NSApplication sharedApplication] registerServicesMenuSendTypes: types
|
||||||
returnTypes: types];
|
returnTypes: types];
|
||||||
|
@ -729,7 +730,8 @@ other than copy/paste or dragging. */
|
||||||
charIndex. The delegate may take any appropriate actions to handle the
|
charIndex. The delegate may take any appropriate actions to handle the
|
||||||
click in its textView: clickedOnLink: atIndex: method. */
|
click in its textView: clickedOnLink: atIndex: method. */
|
||||||
if (_delegate != nil &&
|
if (_delegate != nil &&
|
||||||
[_delegate respondsToSelector: @selector(textView:clickedOnLink:atIndex:)])
|
[_delegate respondsToSelector:
|
||||||
|
@selector(textView:clickedOnLink:atIndex:)])
|
||||||
[_delegate textView: self clickedOnLink: link atIndex: charIndex];
|
[_delegate textView: self clickedOnLink: link atIndex: charIndex];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -775,10 +777,10 @@ replacing the selection.
|
||||||
}
|
}
|
||||||
|
|
||||||
- (NSRange) selectionRangeForProposedRange: (NSRange)proposedSelRange
|
- (NSRange) selectionRangeForProposedRange: (NSRange)proposedSelRange
|
||||||
granularity: (NSSelectionGranularity)granularity
|
granularity: (NSSelectionGranularity)gr
|
||||||
{
|
{
|
||||||
return [super selectionRangeForProposedRange: proposedSelRange
|
return [super selectionRangeForProposedRange: proposedSelRange
|
||||||
granularity: granularity];
|
granularity: gr];
|
||||||
}
|
}
|
||||||
|
|
||||||
- (NSRange) rangeForUserCharacterAttributeChange
|
- (NSRange) rangeForUserCharacterAttributeChange
|
||||||
|
@ -1103,3 +1105,4 @@ container, returning the modified location. */
|
||||||
return NSZeroRect;
|
return NSZeroRect;
|
||||||
}
|
}
|
||||||
@end
|
@end
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue