Ticket #98 (assigned Bug)

Opened 2 years ago

Last modified 2 years ago

tab "stops" in draft and message windows are incorrectly positioned

Reported by: bwsimpson@… Owned by: Cyrus Daboo
Priority: minor Milestone: Soon
Component: Application Version: v4.0.6
Severity: Other Keywords:
Cc: Operating System: Windows
OS Version: XP SP2

Description

I use plain formatting with a monospaced font (MS Andale Mono - which makes distinguishing O, 0, I, l and 1 easier - unfortunately, it is no longer available from MS), tab width 8 and un-checked box "Use Spaces for Tabs" (Outgoing -> General).

Here is an example...

0000000001111111111222222222233333333334444444444555555555566666666667777 1234567890123456789012345678901234567890123456789012345678901234567890123 expect:.T.......T.......T.......T.......T.......T.......T.......T.......T appears:T...T.....T.....T.....T.....T.....T.....T.....T.....T.....T.....T

A line of alternating tab and "T" characters is typed (and later displayed in the message window). The "expect" line shows that I expect to see the "T"s in columns 9, 17, 25, 33, etc. The "appears" line represents what actually I see, instead. The periods/full-stops appear here to show the spacing of the "T" characters.

If I copy and paste the original lines into Notepad or Vim, the tab/T line appears as expected.

If I check the "Use Spaces for Tabs" box, the expected number of spaces is inserted to align the next "T" character on a "stop" position.

Changing the tab width value when "Use Spaces for Tabs" is un-checked has the effect of changing the position of the first "T" on the line. All the other "T"s appear as if tab stops were every 6 character positions (columns 13, 19, 25, 31, etc.). I would expect the "stops" to appear in columns (n * w) + 1, where w is the width value and n = 0, 1, 2, 3, ...

Thanks, Bart

Change History

Changed 2 years ago by Cyrus Daboo

  • owner changed from somebody to Cyrus Daboo
  • status changed from new to assigned
  • milestone changed from unassigned to Soon
Note: See TracTickets for help on using tickets.