 |
arthurkaka Newbie
Joined: 15 Jan 2007 Posts: 1
|
Posted: Mon Jan 15, 2007 8:00 pm
Can not use ANSI in Trigger |
as the subject...
when i turn on the ANSI option and copy a line of word with color to the trigger then, the sequence like %e[xxm does not happen
i wonder what is wrong with it
the zmud i use is 7.21 |
|
|
 |
Fang Xianfu GURU

Joined: 26 Jan 2004 Posts: 5155 Location: United Kingdom
|
Posted: Mon Jan 15, 2007 9:46 pm |
ANSI codes aren't automatically parsed when you paste coloured text; the colour information is lost. You need to enter it manually.
|
|
|
 |
gamma_ray Magician
Joined: 17 Apr 2005 Posts: 496
|
Posted: Tue Jan 16, 2007 2:10 am |
That's not true, it's always pasted ANSI for me (as long as the ansi trigger option is set), and in fact the help file specifically mentions it.
The only thing I can think of is to make sure the ansi option is still set--specifically, if you have a multi-state trigger, multi-state triggers hate ansi and editing any state in a multi-state trigger tends to cause ansi to become unset for any states which were previously ansi. The workaround for this (in ZMud) is to either keep going back and resetting it, or give each state a single alias which it calls and then only edit the aliases. |
|
|
 |
Fang Xianfu GURU

Joined: 26 Jan 2004 Posts: 5155 Location: United Kingdom
|
Posted: Tue Jan 16, 2007 2:21 am |
More fool me for not clicking and then pasting :(
|
|
|
 |
|
|