| 104 | * Persistence |
| 105 | * ImmHotText should be persisted based on |
| 106 | * Its string representation (already present). |
| 107 | * Its style values. |
| 108 | * Should be persisted as mapping of pairs (HotAttr.id, style value set). |
| 109 | * The style value set should be persisted as mapping of pairs (HotPos, style value). |
| 110 | * HotPos should be persisted based only on its index. |
| 111 | * Save |
| 112 | * The history of text is not saved |
| 113 | * All HotPoses should be converted (new positions created) to belong to the saved ImmHotText (not some of its past or future relatives in the history). |
| 114 | * Create a method ImmHotText.getNormalizedStyleValues() for this purpose. |
| 115 | * Load |
| 116 | * Load the text itself |
| 117 | * Load the styles |
| 118 | * Convert styles to conform to the loaded text (HotPoses should be compared by the loaded text's comparator) |
| 119 | * Create a new factory method to create ImmHotText by its internals. |
| 120 | * Chaining is done in a separate task: [wiki:TEXT_CHAINING_BEHAVIOUR_R1] |