Trigger script Style Info doesn't have inverse.

Posted by Cage_fire_2000 on Wed 21 Oct 2009 08:04 PM — 3 posts, 14,449 views.

USA #0
I was making a script to take a triggered line, and display it in a miniwindow using the color codes from the style info passed to the trigger script, and I noticed something odd, part of the text was reversed in color, then I noticed that the style info it passes does not tell you whether they used inverse. The style info from the output buffer does, but not the style info passed to a trigger script. I am running 4.37 which I know isn't the latest release, so let me know if it's been fixed since then. I really don't want to have to grab it from the output buffer as that's unreliable depending on if a script has done a Note() or not, etc. At the very least you'd think it'd reverse the textcolour and backcolour, but it doesn't even do that. I'm wondering why it doesn't come in the same format as GetStyleInfo() for consistancy? You could add that, but also keep the 'style' field for backwards compatibility.
Amended on Wed 21 Oct 2009 08:13 PM by Cage_fire_2000
USA #1
Hmm, never mind, I upgraded to 4.43 and it seems to have fixed it somewhere, but could somebody tell me what version it was fixed in so I can put that as minimum for my plugin?
USA #2
Never mind, it was apparently 4.42. Quite recently it seems.