bug 443


Subject: bug 443
From: Matt Kraai (kraai@subdimension.com)
Date: Thu Mar 30 2000 - 01:31:29 CST


Howdy,

The use of tabs in right justified paragraphs causes assertion
failures. I had a chance to test the behavior of tabs under
Microsoft Word earlier this evening. From what I saw, it appears
that Word behaves as though the tab stop line begins at the first
character in the line.

Here are some examples to clarify what I mean. The plus signs
represent tab stops, and the bar is the end of line:

Text<TAB>

       + + + + + + + |
                                                       Text
               + + + + + + |
                                               Text

More<TAB>Text<TAB>

       + + + + + + + |
                                               More Text
               + + + + + + |
                                       More Text

Given this behavior, should AbiWord try to replicate it, or would
some other scheme be better? For instance, another approach would
be to treat this as the inverse of left justified text. That is,
by default the tab stops should be right tabs, and the above
examples would become

Text<TAB>

       + + + + + + + |
                                                    Text
       + + + + + + |
                                            Text

More<TAB>Text<TAB>

       + + + + + + + |
                                            More Text
       + + + + + + |
                                    More Text

Does anyone have any use cases where tabs are used in right
justified text? For these, would one approach be better than the
other?

I have appended a patch to make it work the Microsoft way, although I
don't know that this is really the best solution (both in terms of
user interface, and in terms of the patch). Also, I don't know how to
insert Right, Center, or Decimal tabs so I haven't been able to test
those changes. It does eliminate the assert of 443. Please let me
know if some other way is better, and I'll give it a shot instead.

Yours,
 Matt




This archive was generated by hypermail 2b25 : Thu Mar 30 2000 - 01:39:16 CST