Changes between Version 4 and Version 5 of TEXT_LAYOUT_LAZY


Ignore:
Timestamp:
02/14/10 12:04:21 (15 years ago)
Author:
kyli
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • TEXT_LAYOUT_LAZY

    v4 v5  
    4444 * Introduce HotLayoutStatus. This way the logic will know how to handle the current layout. A HotLayoutStatus is defined for a concrete HotTextLayout and given ImmHotText and a list of VisibleArea-s as follows:  
    4545 
    46   * INVALID, if any of these is true: 
    47    * The given text is NOT the same as the layout's; 
    48    * The ImmArea-s from the given list are not the same as the ImmAreas used for the layout; 
    49    * Not all the area layouts before the last visible area in the HotTextLayout are HotAreaLayout.isValid(). 
     46   * INVALID, if any of these is true: 
     47    * The given text is NOT the same as the layout's; 
     48    * The ImmArea-s from the given list are not the same as the ImmAreas used for the layout; 
     49    * Not all the area layouts before the last visible area in the HotTextLayout are HotAreaLayout.isValid(). 
    5050 
    51   * VALID, if: 
    52    * The status is not INVALID, and 
    53    * All the area layouts in the HotTextLayout are HotAreaLayout.isValid(). 
     51   * VALID, if: 
     52    * The status is not INVALID, and 
     53    * All the area layouts in the HotTextLayout are HotAreaLayout.isValid(). 
    5454 
    55   * PARTIALLY_VALID, if: 
    56     * The status is not INVALID, 
    57     * The status is not VALID. 
     55   * PARTIALLY_VALID, if: 
     56     * The status is not INVALID, 
     57     * The status is not VALID. 
    5858 
    5959= Implementation =