Chattwindows1text not showing the text
Ssesmar opened this issue ยท 5 comments
Describe the bug
The texts are there, but are displayed without font color, so only if you copy/paste them can you see the text is there.
To Reproduce
used the button to open the chat copy/paste window
Version Information (please complete the following information):
- Wow Version: Retail
- Prat Version: Prat-3.0-3.9.43
Do you have any addons that may modify the appearance of the Prat text export frame? I can't replicate this issue on my device, it displays correctly.
I've added a fix for this issue into the latest alpha. Available shortly. Please comment here if the issue isn't resolved.
Prat-3.0-3.9.43-3-gb7152f1.zip
While the change to StripHyperlinks
takes care of color sequences that might have been escaping the previous patterns, it's not enough alone. At least |K
protected strings must be stripped out separately - if any are present, the editbox will be empty (actually empty, not just display issue). Also, removing link brackets reduces readability of the copied text - StripHyperlinks(msg, false, true)
would preserve brackets while removing colors.
As far as I know, the FPS drop is just an unavoidable consequence of putting a huge amount of text in an editbox at once so that it can be copied with ctrl-C.