wiki:HOT_TEXT_REDESIGN_R4
Last modified 3 years ago Last modified on 10/13/09 18:49:52

Pages linking to HOT_TEXT_REDESIGN_R4:

Ticket Summary Owner Status Type Component Priority Effort Importance
#2113 HOT_TEXT_REDESIGN_R4 vlado closed unplanned_task TEXT_EDITING major

Reported by vlado, 3 years ago.

Description

HOT_TEXT_REDESIGN_R4

Analysis_owners

vlado

Analysis_score

0

Design_score

0

Imp._score

0

Test_score

0

Analysis

The purpose of this task is to clarify text internals related to indexing of positions and the text history.

Overview

  • Problems and difficulties of the current implementation of text
    • Indexing
      • Calculation of the indexes of HotPoses takes place in ImmHotText.
      • This makes ImmHotText responsible for too many functionality.
    • Text History (needed again for indexing)
      • Each ImmHotText refers to its previous and holds the last operation by which it has be created.
      • This is too complex and makes the history hard to save.
      • The history is not persisted at the moment, but it would be needed for tasks including server interactions and real-time collaboration.
    • The text classes are not well separated into packages (useless packages, etc.).

Task requirements

  • Extraction of most of the responsibities for indexing calculations from ImmHotText.
  • History representation simplifications.
  • History persistence (optional).
  • Appropriate package split of text classes.

Task result

  • The result of this task is source code.

Implementation idea

  • Move indexing responsibility to HotPos.
  • Represent text history as a list of operations.
    • This will make history persistence easier.
  • Remove useless packages (such as the smart package).

How to demo

Design

(Describe your design here.)

Implementation

(Describe and link the implementation results here (from the wiki or the repository).)

Testing

(Place the testing results here.)

Comments

(Write comments for this or later revisions here.)