mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-11-28 09:22:03 +00:00
fix for moveRight: with non-zero length selection
This commit is contained in:
1 parent
dd187aef08
commit
1d3a8bcacd
1 file changed
+1
-1
@@ -1334,7 +1334,7 @@ var kDelegateRespondsTo_textShouldBeginEditing
|
||||
- (void)moveRight:(id)sender
|
||||
{
|
||||
if ([self isSelectable])
|
||||
[self _establishSelection:CPMakeRange(CPMaxRange(_selectionRange) + 1, 0) byExtending:NO];
|
||||
[self _establishSelection:CPMakeRange(CPMaxRange(_selectionRange) + (_selectionRange.length ? 0 : 1), 0) byExtending:NO];
|
||||
}
|
||||
|
||||
- (void)_deleteForRange:(CPRange)changedRange
|
||||
|
||||
Reference in new issue
Block a user