Changes between Version 7 and Version 8 of TEXT_PERFORMANCE_R0


Ignore:
Timestamp:
05/15/10 11:08:35 (15 years ago)
Author:
kyli
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • TEXT_PERFORMANCE_R0

    v7 v8  
    5353Replace getMark() and getCaret() with getSelectionInfo(). Replace setMark() and setCaret() with setSelectionInfo(). I think the purpose of these methods is clear, as is their usage.  
    5454 
     55The processedText() is currently an auto property. It also depends on the current selection options, the raw text and the lastChange() property. When you type a symbol, the caret is set, which sets new options, then the mark is set, which also sets new options, the raw text is changed, and the lastChange() is set. So, the text is processed minimum 4 times and therefore laid out minimum 4 times (it was actually 6 times, but I don't remember why).  
    5556 
    56  
     57Replace the auto property processedText() with private ImmHotText getProcessed() method.   
    5758 
    5859