The DOM Selection object supports multiple selection ranges. In Firefox, these can be created by holding the command or ctrl key and performing multiple selections using the mouse.
It looks like the EditContext API supports only a single selection range. Was an intentional decision made to not support multiple selection ranges or was this an oversight? If only a single selection range is supported, how should web applications using EditContext behave if the user selects multiple ranges?
The DOM Selection object supports multiple selection ranges. In Firefox, these can be created by holding the
commandorctrlkey and performing multiple selections using the mouse.It looks like the EditContext API supports only a single selection range. Was an intentional decision made to not support multiple selection ranges or was this an oversight? If only a single selection range is supported, how should web applications using EditContext behave if the user selects multiple ranges?