mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 12:00:52 +00:00
* 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:
parent
45acf44de1
commit
dc1e1120e0
2 changed files with 5 additions and 10 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue