mirror of
https://github.com/webodf/WebODF.git
synced 2026-12-01 16:56:05 +01:00
Implemented support for range selection in edit mode Works similarly to the existing cursor. A node is placed in for the start and end positions of a cursor. The window selection is updated based on cursor moved events. The selection sync logic really belongs in SessionView. However, as only a single selection is supported in the current implementation, this has been temporarily put into SessionController. A new function OdtDocument.getCursorSelection has been added to make it trivial to support range-selection operations. Fixed lost-in-translation