The multiview technology cannot only be used to implement a splitscreen feature, it can be the solution edit the a text path: This means that different editors are set up to each edit one part of the document. When the cursor leaves one box it is automatically moved to the next or previous box. Text which scrolls out of the first editor scrolls into the next box etc. Since all the involved editors work with one text there is no danger to loose information when text scrolls out or in. No text is actually copied in this case, just the view window is changed. |
Even if different editors do not edit the same text it is still possible that all texts use the same RTFProps object - this is the object which stores the necessary character attribute tables and also the list of paragraph styles and number styles.
Advantages: a) If two editors use a different RTFProps object and a style is changed in the first, the text which uses the same style will be also updated in the second editor. This is ideal if you need to create one big text out of several pieces.
b) Since font and color tables are shared the same font or color uses the same index value in all editors which use the same RTFProps object
c) This feature can help to reduce the amount of memory required for each text. |
 |
|

|
|
Each MDI window uses the same RTFProps object. (This demo also shows the automatic creation of a table-of-contents)
|
|