I have started working on the Tabs, and then it dawned on me; a 
tab in a right-aligned paragraph does not make much sense. The 
point of a tab is to push text right-wards, but the right-aligned text 
is alread pushed right to the limit. We have two options:

(1) we push the text leftwards to the _previous_ tab stop. This 
rather cumbersome, and probably will not produce the result the 
user wants, but there is some logic to it (the tab arrow would need 
to point leftwards though).

(2) we treat the Tab as a fixed-width character, either 0, or, 
probably better, a hardcoded fraction of the font ascent. We could 
pop up a message box, explaining what is happening.

Which alternatives should we take? I would appreciate your input. 
(2) is much simpler, but (1) is potentially more ellegant, once the 
user gets used to it.

In the case of centered paragraphs, I think we should definitely 
take (2), implementing any meaningful behaviour if the user decides 
to put in more than 1 tab would be quite difficult.

Tomas

Reply via email to