Changes between Version 15 and Version 16 of TEXT_STABLE_SELECTION_R0
- Timestamp:
- 06/13/09 13:23:15 (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TEXT_STABLE_SELECTION_R0
v15 v16 46 46 47 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. 48 Text selection is something that is related to the text frame, so two new propertieswill be added in org.sophie2.base.scene.interfaces.HotTextSceneElement :48 Text selection is something that is related to the text frame, so a new property will be added in org.sophie2.base.scene.interfaces.HotTextSceneElement : 49 49 * markPos : HotPos - will represent the selection position in the text. When there's no selection markPos is the same as the caretPos 50 50 … … 53 53 For 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. 54 54 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 :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. 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 : 56 56 * When navigating through text markPos and caretPos should advance in same way 57 57 * When deleting text markPos and caretPos should be positioned in the same place