Changes between Version 15 and Version 16 of TEXT_STABLE_SELECTION_R0


Ignore:
Timestamp:
06/13/09 13:23:15 (16 years ago)
Author:
diana
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • TEXT_STABLE_SELECTION_R0

    v15 v16  
    4646 
    4747Notes: The scope  of the task is reduced to selection only with the keyboard. The task requirements 2, 3 and 4 are not implemented. 
    48 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 : 
     48Text selection is something that is related to the text frame, so a new property will be added in org.sophie2.base.scene.interfaces.HotTextSceneElement : 
    4949 * markPos : HotPos - will represent the selection position in the text. When there's no selection markPos is the same as the caretPos 
    5050  
     
    5353For presentation of the selected text to the user will be used reverse background/color model (color XORmodel). For now this feature is part of HotTextLayout related classes and more specially Atom. 
    5454 
    55 HotTextPlaceLogic is an enumeration that handles text interaction which is related to some positioning - events that have parameter Place. In it there are literals for - navigating through text and deleting text (both using Place as an argument for their events), so it's a good place to add a new enumeration literal - SELECT_OPERATION. It will be handler for selection activities (shift + left/right arrow etc.). In the same enumeration support for markPos must be added to already existing literals : 
     55HotTextPlaceLogic is an enumeration that handles text interaction which is related to some positioning - events that have parameter Place. In it there are literals for - navigating through text and deleting text (both using Place as an argument for their events), so it's a good place to add a new enumeration literal - SELECT. It will be handler for selection activities (shift + left/right arrow etc.). In the same enumeration support for markPos must be added to already existing literals : 
    5656 * When navigating through text markPos and caretPos should advance in same way 
    5757 * When deleting text markPos and caretPos should be positioned in the same place