Changes between Version 12 and Version 13 of TEXT_STABLE_SELECTION_R0
- Timestamp:
- 05/28/09 10:43:26 (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TEXT_STABLE_SELECTION_R0
v12 v13 14 14 * Should apply style to selection only. If nothing is selected and carriage is in a word, applies the style to the whole word. Otherwise, should apply styles from cursor position to the next non-existing character. 15 15 * Text selection should be draggable 16 * Multi select - multi select is done by selecting another part of the text with pressed ctrl key.17 16 * Cursor position is local for non-chained frames. Selection should be kept for each different frame (cursor position - too) 18 17 * Selection is dropped when the carriage is moved (mouse, arrows without shift) … … 27 26 * Should highlight text (with inversed colors) 28 27 * Should apply style to selection only. If nothing is selected, should apply styles from cursor position to the following non-existing character. 29 * Multi select - multi select is done by selecting another part of the text with pressed ctrl key. (optional - if we have time)30 28 31 29 == Task result == … … 48 46 Text selection is something that is related to the text frame, so two new properties will be added in org.sophie2.base.scene.interfaces.HotTextSceneElement : 49 47 * markPos : HotPos - will represent the selection position in the text. When there's no selection markPos is the same as the caretPos 50 * selectedUnits : List<HotUnits> - will repsent the selected units. When there's no selection this list is empty 51 48 52 49 For selected text will be considered everything that is between caretPos and markPos. The HotUnits there should be added to selectedUnits. 53 50