mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 22:20:37 +00:00
Rewrite insertion point movement actions properly.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15904 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
3e3834e59c
commit
1c1ddf28cf
5 changed files with 578 additions and 394 deletions
|
@ -2690,6 +2690,7 @@ afterString in order over charRange.
|
|||
}
|
||||
|
||||
[self setSelectionGranularity: NSSelectByCharacter];
|
||||
_layoutManager->_selectionAffinity = affinity;
|
||||
|
||||
/* TODO: Remove the marking from marked text if the new selection is
|
||||
greater than the marked region. */
|
||||
|
@ -2710,7 +2711,7 @@ afterString in order over charRange.
|
|||
|
||||
- (NSSelectionAffinity) selectionAffinity
|
||||
{
|
||||
return NSSelectionAffinityDownstream;
|
||||
return _layoutManager->_selectionAffinity;
|
||||
}
|
||||
|
||||
- (void) setSelectionGranularity: (NSSelectionGranularity)granularity
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue