to = from;
return;
}
- // fall through
+ // no break here, we go to the next
case WHOLE_WORD:
// If we are already at the beginning of a word, do nothing
if (!from || isWordSeparator(from - 1))
break;
- // fall through
+ // no break here, we go to the next
case PREVIOUS_WORD:
// always move the cursor to the beginning of previous word