mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-06-04 15:00:41 +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
30182a3f19
commit
c4945b1c51
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,17 +746,8 @@ 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)];
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
[self setSelectedRange: NSMakeRange(cindex, anchor - cindex)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue