* Source/NSTextView_actions.m: Remove hack from previous patch.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@24036 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Matt Rice 2006-11-06 15:30:44 +00:00
parent 45acf44de1
commit dc1e1120e0
2 changed files with 5 additions and 10 deletions

View file

@ -1,3 +1,7 @@
2006-11-06 Matt Rice <ratmice@yahoo.com>
* Source/NSTextView_actions.m: Remove hack from previous patch.
2006-11-06 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSDisplayServer.m: Improve documentation of window ordering

View file

@ -746,16 +746,7 @@ added to the selection (1,3).
[self setSelectedRange: NSMakeRange(anchor, cindex - anchor)
affinity: NSSelectionAffinityDownstream
stillSelecting: NO];
if (anchor)
{
[self scrollRangeToVisible: NSMakeRange(anchor, cindex - anchor)];
}
else
{
/* seems to only happen from
* moveToEndOfDocumentAndModifySelection: */
[self scrollRangeToVisible: NSMakeRange(cindex, 0)];
}
[self scrollRangeToVisible: NSMakeRange(anchor, cindex - anchor)];
}
else
{