Dekel Tsur <[EMAIL PROTECTED]> writes:

| On Thu, Sep 19, 2002 at 12:30:12PM +0900, R. Lahaye wrote:
>> src/layout.h has:
>> 
>> enum LyXAlignment {
>>      ///
>>      LYX_ALIGN_NONE = 0,
>>      ///
>>      LYX_ALIGN_BLOCK = 1,
>>      ///
>>      LYX_ALIGN_LEFT = 2,
>>      ///
>>      LYX_ALIGN_RIGHT = 4,
>>      ///
>>      LYX_ALIGN_CENTER = 8,
>>      ///
>>      LYX_ALIGN_LAYOUT = 16,
>>      ///
>>      LYX_ALIGN_SPECIAL = 32
>> };
>> 
>> Introducing a Default, would need quite some more recoding all over the 
>> paragraph
>> and paragraph-parameter code. We may possibly need a "LYX_ALIGN_DEFAULT", 
>> which tells the paragraph that its alignment is not overruled by the user's 
>> settings.
>> Or does one of the other enums in LyXAlignment refer to such a Default 
>> setting?
>
| I think that LYX_ALIGN_NONE can be renamed as LYX_ALIGN_DEFAULT.

Then there is not need to rename.

Also notice that LYX_ALIGN_LAYOUT give the alignment that is in the
.layout file, effectively the default...

-- 
        Lgb

Reply via email to