[FIXED] Tabs not shown in Comment column

Things you’d like to miss in the future...
Forum rules
You might want to read this if you're looking for priority service

:info: 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%).

:info: Use Your Profile Or Signature
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.

:info: How To Attach Images
When attaching an Image, please use the Attachment tab at the bottom of your post and click "Add files".
Post Reply
Marco
Posts: 2354
Joined: 27 Jun 2011 15:20

[FIXED] Tabs not shown in Comment column

Post by Marco »

If I have a comment with a tab in it, such space is entirely stripped upon displaying on screen.
Last edited by Marco on 20 Aug 2014 20:08, edited 1 time in total.
Tag Backup - SimpleUpdater - XYplorer Messenger - The Unofficial XYplorer Archive - Everything in XYplorer
Don sees all [cit. from viewtopic.php?p=124094#p124094]

admin
Site Admin
Posts: 67280
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Tabs not shown in Comment column

Post by admin »

Hm, confirmed. Not sure what to do. I personally use 2 spaces for 1 TAB in my editor. Okay?

Marco
Posts: 2354
Joined: 27 Jun 2011 15:20

Re: Tabs not shown in Comment column

Post by Marco »

You mean there's nothing that can be done?
Tag Backup - SimpleUpdater - XYplorer Messenger - The Unofficial XYplorer Archive - Everything in XYplorer
Don sees all [cit. from viewtopic.php?p=124094#p124094]

admin
Site Admin
Posts: 67280
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Tabs not shown in Comment column

Post by admin »

No, I mean: Should I display the TAB as 2 spaces? Or as 1 space?

Marco
Posts: 2354
Joined: 27 Jun 2011 15:20

Re: Tabs not shown in Comment column

Post by Marco »

Ah ok!
I would like to see the real tab, for two reasons:
-the comment field can contain almost everything as-is/verbatim (except the CRLF pair), and I think it would be cool to keep it that way (therefore not adding further processing for the tab)
-with the real tab some vertical alignment is possible. If I have two comments like

Code: Select all

http://www.address1.com "Some title"
http://www.site2.eu "Another title"
the tab between the url and the string would create a perfect vertical alignment of the strings
Tag Backup - SimpleUpdater - XYplorer Messenger - The Unofficial XYplorer Archive - Everything in XYplorer
Don sees all [cit. from viewtopic.php?p=124094#p124094]

TheQwerty
Posts: 4373
Joined: 03 Aug 2007 22:30

Re: Tabs not shown in Comment column

Post by TheQwerty »

Why not respect the user's setting for Preview > Display Tabs as spaces?

admin
Site Admin
Posts: 67280
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Tabs not shown in Comment column

Post by admin »

I would like to see the real tab, for two reasons:
Yeah, that's possible too. Let's try it. :)

admin
Site Admin
Posts: 67280
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Tabs not shown in Comment column

Post by admin »

TheQwerty wrote:Why not respect the user's setting for Preview > Display Tabs as spaces?
Maybe, but originally that's only meant for the Text preview.

TheQwerty
Posts: 4373
Joined: 03 Aug 2007 22:30

Re: Tabs not shown in Comment column

Post by TheQwerty »

admin wrote:
TheQwerty wrote:Why not respect the user's setting for Preview > Display Tabs as spaces?
Maybe, but originally that's only meant for the Text preview.
I realize that but I think if you're going to start converting tabs to spaces here you should respect that option rather than hard code it to something or create another option.

Then again I find the fact that Run Script uses a full 8-character width tab at all times rather annoying. ;)

admin
Site Admin
Posts: 67280
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: [FIXED] Tabs not shown in Comment column

Post by admin »

Well, TABs in comments ... I guess who uses them wants to see them.

Run Script: I could do something about this. When I find the time. :)

Post Reply