Page 1 of 1
Tabs in script caption
Posted: 07 Feb 2008 23:45
by PeterH
I see strange effects if I use tab-characters in script-caption or -ID. The ID isn't recognized, if there's a tab in front of it's ':', and the following Menu will show strange characters for the Tab. (But a Tab in front of :: seems to be no problem...)
I think the tab should be interpreted as at least one space? Then following would be correct:
(I will use > to represent Tab-character in the sample)
Test3>L5>::input $1, Enter Text, default
>>::msg text = $1
The Tab having a problem seems to be the first one, directly in front of :
This would be shown 'perfectly formatted' in editor. (And I like this aligned view!)
Re: Tabs in script caption
Posted: 08 Feb 2008 08:35
by admin
Yep, thanks. Fixed.
Posted: 08 Feb 2008 17:17
by PeterH
Verified: very fine!
A reason, why you substitute 2 space chars for a tab?
(But I don't think it matters anyway...)
Posted: 08 Feb 2008 17:23
by j_c_hallgren
PeterH wrote:A reason, why you substitute 2 space chars for a tab?
(But I don't think it matters anyway...)
My experience is that tabs normally cause a 4 char indent as typical/minimum, and 8 chars is 2nd most common...I can't recall any times where it's only 2 chars.
Posted: 08 Feb 2008 17:59
by PeterH
j_c_hallgren wrote:My experience is that tabs normally cause a 4 char indent as typical/minimum, and 8 chars is 2nd most common...I can't recall any times where it's only 2 chars.
In edit tab expands to 1-7 spaces, as is neccessary for alignment. There can be other values for other programs - so XY will not be able to do this 1:1.
The problem was the function: tab followed by : wasn't recognized. So I had expected that tab would (for function) be replaced by just one space.
But as I said: it really doesn't matter.
Posted: 08 Feb 2008 18:15
by admin
PeterH wrote:Verified: very fine!
A reason, why you substitute 2 space chars for a tab?
(But I don't think it matters anyway...)
Because I use 1 tab = 2 spaces everywhere I can.

Posted: 08 Feb 2008 19:34
by Pagat
admin wrote:Because I use 1 tab = 2 spaces everywhere I can.

Me too! So there are already two persons who use 1 tab = 2 spaces

Posted: 08 Feb 2008 19:43
by admin
Pagat wrote:admin wrote:Because I use 1 tab = 2 spaces everywhere I can.

Me too! So there are already two persons who use 1 tab = 2 spaces


But of course, PeterH is right: in this context it does not matter at all. As long as you don't place tabs in the middle of your script captions, you won't note any difference.
Posted: 08 Feb 2008 20:14
by PeterH
admin wrote:Because I use 1 tab = 2 spaces everywhere I can.

The best reason (and the best answer) I can think of
