Wrong filename shown in document tabs

General questions about using TextPad

Moderators: AmigoJack, bbadmin, helios, MudGuard

Post Reply
Dwedit0
Posts: 1
Joined: Sat Jan 17, 2004 5:55 am

Wrong filename shown in document tabs

Post by Dwedit0 »

When I have a document with a '&' character in the filename, it is shown in the document tabs as a '%' sign instead.
User avatar
talleyrand
Posts: 624
Joined: Mon Jul 21, 2003 6:56 pm
Location: Kansas City, MO, USA
Contact:

Post by talleyrand »

TP 4.7.1 Windows 2K. I can't reproduce your issue.
I choose to fight with a sack of angry cats.
User avatar
MudGuard
Posts: 1295
Joined: Sun Mar 02, 2003 10:15 pm
Location: Munich, Germany
Contact:

Post by MudGuard »

I can reproduce it - only in the document tabs, not in the document selector.

My guess: the & is replaced intentionally, because in Windows, a & in a menu, button text, tab label ... is used to indicate the accelerator key (the following letter).
So du&mmy would be displayed as dummy and Alt-m would be the key associated with this menu/button/tab/...

IF my assumption is true, it would help to replace the & not by a %, but by two & (du&mmy --> du&&mmy instead of du&mmy --> du%mmy) as a double & in these cases is interpreted as a displayed &.
User avatar
talleyrand
Posts: 624
Joined: Mon Jul 21, 2003 6:56 pm
Location: Kansas City, MO, USA
Contact:

Post by talleyrand »

Well, colour me ignorant, I'd never used the document tabs! (View -> Document Tabs)
Yup, I take back my findings and concur with MudGuard in his findings and his reasonings too.
I choose to fight with a sack of angry cats.
Post Reply