Alignment of tabs\spaces issue in examples section of cmdlets help

Support for all customers who have purchased a PowerShell HelpWriter product license. This forum does not offer a response time guarantee.
Forum rules
DO NOT POST SUBSCRIPTION NUMBERS, LICENSE KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM.
Only the original author and our tech personnel can reply to a topic that is created in this forum. If you find a topic that relates to an issue you are having, please create a new topic and reference the other in your post.

Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
User avatar
gokulks
Posts: 6
Joined: Fri Mar 24, 2017 1:59 am

Alignment of tabs\spaces issue in examples section of cmdlets help

Post by gokulks » Wed Sep 05, 2018 11:15 pm

To help you better we need some information from you.

*** Please fill in the fields below. If you leave fields empty or specify 'latest' rather than the actual version your answer will be delayed as we will be forced to ask you for this information. ***

Product, version and build: PowerShell HelpWriter 2018 v2.2.40
32 or 64 bit version of product: 64-bit version
Operating system: Windows 8.1
32 or 64 bit OS: 64-bit OS

*** Please add details and screenshots as needed below. ***
Hi Support Team,

Whenever spaces\tabs are there in the examples output of any cmdlets then it is not properly aligned in the actual PoweShell ISE\console output.
This alignment of spaces is little tricky so even if i copy a properly aligned example output from Powershell console and past it in the helpwriter editor the
final result in the console will be different. Can you please look into the issue.

Let me know if you need more information on same or screenshots i can provide.

Thanks,
Gokul

For e.g.,
EXAMPLES ( In Helpwriter tool )
--------------------------------------
PS C:\Windows\system32> $i = $con | Get-HPEiLOIntegratedRemoteConsoleSetting

PS C:\Windows\system32> $i
TrustedCertificateRequired : Yes
IP : 192.168.10.28
Hostname : xl170r-01gen10.powershvpn.com
Status : OK
StatusInfo :

TrustedCertificateRequired : Yes
IP : 192.168.10.31
Hostname : bl460cgen10-03.powershvpn.com
Status : OK
StatusInfo :

EXAMPLES OUTPUT ( In PowerShell output )
-----------------------------------------------------

PS C:\Windows\system32> $i = $con | Get-HPEiLOIntegratedRemoteConsoleSetting

PS C:\Windows\system32> $i
TrustedCertificateRequired : Yes
IP : 192.168.10.28
Hostname : xl170r-01gen10.powershvpn.com
Status : OK
StatusInfo :

TrustedCertificateRequired : Yes
IP : 192.168.10.31
Hostname : bl460cgen10-03.powershvpn.com
Status : OK
StatusInfo :


DO NOT POST SUBSCRIPTIONS, KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM

User avatar
mxtrinidad
Site Admin
Posts: 224
Joined: Sun Mar 03, 2013 12:42 pm

Re: Alignment of tabs\spaces issue in examples section of cmdlets help

Post by mxtrinidad » Thu Sep 06, 2018 5:36 am

It will help if you can please attach a copy of the file.

Thanks!

User avatar
davidc
Posts: 5469
Joined: Thu Aug 18, 2011 4:56 am

Re: Alignment of tabs\spaces issue in examples section of cmdlets help

Post by davidc » Thu Sep 06, 2018 7:28 am

I screenshot will work better, since alignment is dependent on the font.

What font do you have selected in Options->Editor->Font and Color? Try selecting a fixed-point font.
David
SAPIEN Technologies, Inc.