|
|
@ -2408,7 +2408,7 @@
|
|
|
|
let direction = $input.selectionDirection;
|
|
|
|
let direction = $input.selectionDirection;
|
|
|
|
|
|
|
|
|
|
|
|
if (event.shiftKey) {
|
|
|
|
if (event.shiftKey) {
|
|
|
|
if (direction === 'none') {
|
|
|
|
if (direction === 'none' || direction === 'forward') {
|
|
|
|
if (isLeft) {
|
|
|
|
if (isLeft) {
|
|
|
|
direction = 'backward';
|
|
|
|
direction = 'backward';
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
@ -2419,6 +2419,7 @@
|
|
|
|
direction = 'none';
|
|
|
|
direction = 'none';
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
console.log(isLeft, direction, posStart, posEnd, newPosStart, newPosEnd);
|
|
|
|
if (direction === 'forward') {
|
|
|
|
if (direction === 'forward') {
|
|
|
|
newPosStart = posStart;
|
|
|
|
newPosStart = posStart;
|
|
|
|
} else if (direction === 'backward') {
|
|
|
|
} else if (direction === 'backward') {
|
|
|
|