color dependent tiers

RobbyZ r.zwitserlood at gmail.com
Tue Jul 13 10:44:58 UTC 2010


Dear Leonid,

That's very helpful! Thank you. The copy/past version works fine. I
could not find the addcolor.cut attachment in your email,

Best,

Rob

On 9 jul, 21:36, Leonid Spektor <spek... at andrew.cmu.edu> wrote:
>  Rob,
>
>         The color information is stored inside the CHAT text files. When you open such file with CLAN the line that specifies the color scheme is deleted. You can open this file using TextEdit application on Mac or Notepad application on Windows machine and you'll see line similar to this at the top of file:
>
> @Color words:   %spa: 7 0 54563 876 *MOT: 7 57232 1957 6009
>
> This particular line instructs CLAN to display %spa tier in green color and *MOT tier in red color. After you select the color scheme for one particular CHAT file, then you can open that file with one of the above mentioned text editors and copy the whole "@Color words:" tier to any other CHAT files that you want to have the same color scheme in.
>
> If you have BBEdit or know of any program that can do regular expression search and replace function, then you can use it to add  "@Color words:" tier to all CHAT files you want color added to. You can also use chstring CLAN command with either one of the following commands:
>
> chstring +t@ +d +caddcolor.cut *.cha
>
> chstring +t@ +d +s"@Begin" "@Color words: %spa: 7 0 54563 876 *MOT: 7 57232 1957 6009\n at Begin" *.cha
>
> The file "addcolor.cut" needed in first command is attached to this email.
>
> Leonid.
>
> On Jul 9, 2010, at 09:16, Rob Zwitserlood wrote:> Dear Leonid,
>
> > In my files I color the different dependent tiers I use. I do this by hand
> > from the view menu. I code lots of files/children and it's quite a tedious
> > job. Is there a way to do this automatically?
>
> > Thanks in advance,
>
> > Rob Zwitserlood
>
> > --
> > You received this message because you are subscribed to the Google Groups "chibolts" group.
> > To post to this group, send email to chibolts at googlegroups.com.
> > To unsubscribe from this group, send email to chibolts+unsubscribe at googlegroups.com.
> > For more options, visit this group athttp://groups.google.com/group/chibolts?hl=en.

-- 
You received this message because you are subscribed to the Google Groups "chibolts" group.
To post to this group, send email to chibolts at googlegroups.com.
To unsubscribe from this group, send email to chibolts+unsubscribe at googlegroups.com.
For more options, visit this group at http://groups.google.com/group/chibolts?hl=en.



More information about the Chibolts mailing list