PiRSquared17 / snaketail-net

Automatically exported from code.google.com/p/snaketail-net
1 stars 0 forks source link

ampersand in file is not displayed and underlines the next character #31

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. open a file with one or more ampersands in the file

For example:
&a&b&c

2. Notice that the first two ampersands in the file are not displayed

3. Notice that the last ampersand in the file will underline the next character

What is the expected output?
&a&b&c

What do you see instead?
abc

(c is underlined)

What version of the product are you using?
1.8.1

On what operating system?
Windows 7 Enterprise x64 SP1

Please provide any additional information below.

It doesn't matter if the file is ANSI, Unicode, or UTF-8.

Original issue reported on code.google.com by rami.abughazaleh@gmail.com on 13 Mar 2013 at 12:25

GoogleCodeExporter commented 9 years ago
The file in question has a .txt file extension if that makes any difference.

Original comment by rami.abughazaleh@gmail.com on 13 Mar 2013 at 12:26

GoogleCodeExporter commented 9 years ago
Thanks for reporting this bug, it was introduced with SnakeTail ver. 1.8.1, 
where I tried to fix the drawing logic to work on Win8.

I was missing a TextFormatFlags.NoPrefix in my TextRenderer.DrawText call.

Original comment by sweaty1 on 13 Mar 2013 at 6:46

GoogleCodeExporter commented 9 years ago
Have released SnakeTail ver. 1.8.2

Original comment by sweaty1 on 13 Mar 2013 at 8:11