Changes between Version 7 and Version 8 of TEXT_PERFORMANCE_R0
- Timestamp:
- 05/15/10 11:08:35 (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TEXT_PERFORMANCE_R0
v7 v8 53 53 Replace getMark() and getCaret() with getSelectionInfo(). Replace setMark() and setCaret() with setSelectionInfo(). I think the purpose of these methods is clear, as is their usage. 54 54 55 The 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). 55 56 56 57 Replace the auto property processedText() with private ImmHotText getProcessed() method. 57 58 58 59