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!)
Tabs in script caption
Forum rules
READ THIS AND DO IT!!!
Please include the following information:
1) Your XYplorer Version (e.g., v28.00.0801)
2) Your Windows Version (e.g., Win 11)
3) Your Screen Scaling Percentage (e.g., 125%).
We strongly recommend adding your Windows Version and Screen Scaling Percentage to the Location field in your Profile or to your Signature. That way, you only have to type them once, and we won't have to search for that vital information.
When attaching an Image, please use the Attachment tab at the bottom of your post and click "Add files".
READ THIS AND DO IT!!!
1) Your XYplorer Version (e.g., v28.00.0801)
2) Your Windows Version (e.g., Win 11)
3) Your Screen Scaling Percentage (e.g., 125%).
-
PeterH
- Posts: 2829
- Joined: 21 Nov 2005 20:39
- Location: DE W11Pro 24H2, 1920*1200*100% 3840*2160*150%
-
admin
- Site Admin
- Posts: 66431
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
-
j_c_hallgren
- XY Blog Master
- Posts: 5826
- Joined: 02 Jan 2006 19:34
- Location: So. Chatham MA/Clearwater FL
- Contact:
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.PeterH wrote:A reason, why you substitute 2 space chars for a tab?
(But I don't think it matters anyway...)
Still spending WAY TOO much time here! But it's such a pleasure helping XY be a treasure!
(XP on laptop with touchpad and thus NO mouse!) Using latest beta vers when possible.
(XP on laptop with touchpad and thus NO mouse!) Using latest beta vers when possible.
-
PeterH
- Posts: 2829
- Joined: 21 Nov 2005 20:39
- Location: DE W11Pro 24H2, 1920*1200*100% 3840*2160*150%
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.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.
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.
-
admin
- Site Admin
- Posts: 66431
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Because I use 1 tab = 2 spaces everywhere I can.PeterH wrote:Verified: very fine!
A reason, why you substitute 2 space chars for a tab?
(But I don't think it matters anyway...)
FAQ | XY News RSS | XY X
-
Pagat
- Posts: 310
- Joined: 09 Oct 2007 21:23
- Location: Austria
-
admin
- Site Admin
- Posts: 66431
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Pagat wrote:Me too! So there are already two persons who use 1 tab = 2 spacesadmin wrote:Because I use 1 tab = 2 spaces everywhere I can.
FAQ | XY News RSS | XY X
XYplorer Beta Club