mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 16:20:38 +00:00
Indentation tidyups
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10813 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
7b104b7886
commit
6ac967a696
1 changed files with 11 additions and 8 deletions
|
@ -1093,8 +1093,10 @@ static NSNotificationCenter *nc;
|
|||
if (flag)
|
||||
{
|
||||
if (color == nil)
|
||||
color = _caret_color;
|
||||
|
||||
{
|
||||
color = _caret_color;
|
||||
}
|
||||
|
||||
[color set];
|
||||
NSRectFill (rect);
|
||||
}
|
||||
|
@ -1872,15 +1874,16 @@ static NSNotificationCenter *nc;
|
|||
- (void) clickedOnLink: (id)link
|
||||
atIndex: (unsigned int)charIndex
|
||||
{
|
||||
|
||||
/* Notifies the delegate that the user clicked in a link at the
|
||||
specified charIndex. The delegate may take any appropriate actions
|
||||
to handle the click in its textView: clickedOnLink: atIndex:
|
||||
method. */
|
||||
/* Notifies the delegate that the user clicked in a link at the
|
||||
specified charIndex. The delegate may take any appropriate actions
|
||||
to handle the click in its textView: clickedOnLink: atIndex:
|
||||
method. */
|
||||
if (_delegate != nil &&
|
||||
[_delegate respondsToSelector:
|
||||
@selector(textView:clickedOnLink:atIndex:)])
|
||||
{
|
||||
[_delegate textView: self clickedOnLink: link atIndex: charIndex];
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
|
@ -3308,7 +3311,7 @@ other than copy/paste or dragging. */
|
|||
|
||||
glyphRange = [_layoutManager glyphRangeForCharacterRange: aRange
|
||||
actualCharacterRange: NULL];
|
||||
|
||||
|
||||
return [_layoutManager boundingRectForGlyphRange: glyphRange
|
||||
inTextContainer: _textContainer];
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue