I recently needed to add some colors to a batch file output. And for this you have to enter Virtual Terminal Sequences starting with ESC (ASCII 27) See: https://msdn.microsoft.com/en-us/librar ... s.85).aspx
In WeBuilder this character shows up as a rectangle, but only half the width of the regular characters.
This screws up the cursor positions on the line with the ESC characters.
I ended up having to edit the file in UltraEdit as that displays the ESC in similar fashion, but the width is the same as regular characters. (It just have some extra space on the right side of the character)
Bug: ESC character is only half width (screws up editing)
Moderator: kfury77
Forum rules
Please try to follow these guidelines. This will help to receive faster and more accurate response.
Please try to follow these guidelines. This will help to receive faster and more accurate response.
- Check the Support section of the corresponding product first. Chances are you will find your answer there;
- Do not create new topics for already reported problems. Add your comments to the existing topics instead;
- Create separate topic for each problem request. Do NOT post a number of non-related problem reports in a single topic;
- Give your topic a meaningful title. Titles such as "A question," "Bug report" and "Help!" provide others no clue what your message is about;
- Include the version number of the software you are using;
- This is not an official customer support helpdesk. If you need a prompt and official response, please contact our support team directly instead. It may take a while until you receive a reply in the forum;
Bug: ESC character is only half width (screws up editing)
There are 10 types of people in the world: Those who understand binary and those who don't.
Re: Bug: ESC character is only half width (screws up editing
Can you send me some sample text file that contains a few of those characters? I would attach it to the bug report for easier diagnostics. Thanks!
Blumentals Software Programmer
Re: Bug: ESC character is only half width (screws up editing
I also tried switching font in WeBuilder to "Courier New" which was the font used in my UltraEdit. But the same problem occurs.
Since the font used is a fixed-width font, maybe you can force the width to always be equal to the width of the "W" character.
Attached is a small batch script illustrating the problems with the ESC character.
Since the font used is a fixed-width font, maybe you can force the width to always be equal to the width of the "W" character.
Attached is a small batch script illustrating the problems with the ESC character.
There are 10 types of people in the world: Those who understand binary and those who don't.
Re: Bug: ESC character is only half width (screws up editing
Thanks! I have no idea how easy or hard this problem is, we will need to do some researching first.
Blumentals Software Programmer