Subject: Re: commit: piecetable changes
From: David Chart (linux@dchart.demon.co.uk)
Date: Sun Nov 11 2001 - 05:08:04 CST
--On 11/11/01 18:54 +1100 Martin Sevior wrote:
> What should happen if I apply style "german" to the paragraph with
> italics. Are the italics wiped out?
Is 'german' a character or paragraph style? And what about the italics?
Applying a style to a paragraph should, ideally, not change properties set 
individually for that paragraph (e.g. by pressing the italic button on the 
tool bar). Similarly, you should be able to add one character style to one 
paragraph style. Otherwise, the new style should reset everything.
Reasons why it should change:
1) Microsoft Word does it the other way.
2) If you apply Style 1 + Style 2 + Style 3, this may be very different 
from Style 2 + Style 1 + Style 3. In both cases, Abi would claim that the 
paragraph was Style 3.
3) If you have various styles, you cannot make them all the same by 
applying the same style to everything. This is one of the things that makes 
styles useful.
4) There is no guarantee that changing the style will change the formatting 
of all paragraphs, as there may be carry-over from previous styles.
5) You get 'invisible' formatting, which isn't part of the style and was 
never applied deliberately to the paragraph in question.
6) 'Normal Clean' is a hack, and broke XHTML export.
In short, I strongly approve of Tomas's changes.
David Chart
This archive was generated by hypermail 2b25 : Sun Nov 11 2001 - 05:09:46 CST