Text Editing in a Workspace - LucPrestin/Hidden-Modularity GitHub Wiki
Description
This is the skeleton for issue 15.
A text editor, such as a workspace, consists of many different parts. For example, we have the TextMorph
, TextEditor
and Paragraph
. This scenario aims to investigate the interaction of the different parts.
The procedure would be something like this: we create a new workspace. Then we simulate interactions with the workspace. Typing and resizing the window would be two possible ones. During the interactions we trace the workspace.
Question: are all the objects in the interaction the same and get reused or are new ones created as needed and disposed of afterwards?
Code
tbd
probably needs a new type of graph to see the specific instances
Hypotheses
- In general, objects are created as needed and deleted afterwards
- The
TextMorph
has the longest life span, theParagraph
s the shortest - The
Paragraph
s get replaced when we resize the window -> multiple paragraphs can be seen in the graph
Evaluation
tbd
Further insights (optionally)
tbd