Changes between Version 16 and Version 17 of TEXT_STABLE_SELECTION_R0


Ignore:
Timestamp:
06/13/09 13:36:04 (16 years ago)
Author:
diana
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • TEXT_STABLE_SELECTION_R0

    v16 v17  
    88Text select -  
    99 * Text selection is done by  
    10   * clicking and dragging on text 
    11   * double clicking on a word (selects the whole word) (word - symbols not containing tab, space, page break or other special(hidden) characters) 
    12   * navigate (arrows) select text in desired position. For example, on up/down the text is selected to the same position on the previous/next line if there is text on it or to the end of the line otherwise. In all other cases the selection is from the previous position to the current carriage position (depends on cursor movement bahavior) 
     10  * navigate (arrows) select text in desired position. The selection is from the previous position to the current carriage position (depends on cursor movement bahavior) 
    1311 * Should highlight text (with inversed colors) 
    1412 * 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  * Text selection should be draggable 
    1613 * Cursor position is local for non-chained frames. Selection should be kept for each different frame (cursor position - too) 
    1714 * Selection is dropped when the carriage is moved (mouse, arrows without shift) 
     
    4542= Design = 
    4643 
    47 Notes: The scope  of the task is reduced to selection only with the keyboard. The task requirements 2, 3 and 4 are not implemented. 
    4844Text selection is something that is related to the text frame, so a new property will be added in org.sophie2.base.scene.interfaces.HotTextSceneElement : 
    4945 * markPos : HotPos - will represent the selection position in the text. When there's no selection markPos is the same as the caretPos