Changes between Version 12 and Version 13 of TEXT_STABLE_SELECTION_R0


Ignore:
Timestamp:
05/28/09 10:43:26 (16 years ago)
Author:
diana
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • TEXT_STABLE_SELECTION_R0

    v12 v13  
    1414 * 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. 
    1515 * Text selection should be draggable 
    16  * Multi select - multi select is done by selecting another part of the text with pressed ctrl key. 
    1716 * Cursor position is local for non-chained frames. Selection should be kept for each different frame (cursor position - too) 
    1817 * Selection is dropped when the carriage is moved (mouse, arrows without shift) 
     
    2726 * Should highlight text (with inversed colors) 
    2827 * 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) 
    3028 
    3129== Task result == 
     
    4846Text selection is something that is related to the text frame, so two new properties will be added in org.sophie2.base.scene.interfaces.HotTextSceneElement : 
    4947 * 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  
    5249For selected text will be considered everything that is between caretPos and markPos. The HotUnits there should be added to selectedUnits. 
    5350