# Mental Ray Syntax Highighlight Ultraedit

**URL:** https://forum.highend3d.com/t/mental-ray-syntax-highighlight-ultraedit/45834
**Category:** Maya
**Tags:** mental-ray
**Created:** [June 22, 2006, 11:07am UTC](https://forum.highend3d.com/t/mental-ray-syntax-highighlight-ultraedit/45834 "2006-06-22T11:07:33Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![audun](https://forum.highend3d.com/letter_avatar_proxy/v4/letter/a/ecd19e/32.png) [@audun](https://forum.highend3d.com/u/audun)
#### Post date: [June 22, 2006, 11:07am UTC](https://forum.highend3d.com/t/mental-ray-syntax-highighlight-ultraedit/45834/1 "2006-06-22T11:07:33Z")

</div>

Just started with the MR standalone and looking for a wordfile for Ultra Edit.  
Would be neat to have color highlighting of .mi files just like for .mel files.   
Does anyone know if someone posted it somewhere on the net?

Thanks  
Audun

---

<div class="post-metadata">

### Author: ![audun](https://forum.highend3d.com/letter_avatar_proxy/v4/letter/a/ecd19e/32.png) [@audun](https://forum.highend3d.com/u/audun)
#### Post date: [June 22, 2006, 6:38pm UTC](https://forum.highend3d.com/t/mental-ray-syntax-highighlight-ultraedit/45834/2 "2006-06-22T18:38:04Z")

</div>

nevermind, sorted it I think:

/L12"Mental Ray MI format" Line Comment = # String Chars = " Escape Char = \ File Extensions = MI  
/Delimiters = !%^&\*()+=|\/{}[]:;"'\<\>, .?`  
/Function String 1 = "proc [a-zA-Z]_(_)"  
/Indent Strings = "{"  
/Unindent Strings = "}"  
/C1"Data Types"  
float  
int  
matrix  
string  
vector  
/C2"Boolean Constants"  
false  
no  
off on  
true  
yes  
/C3"Flow Control"  
break  
case continue  
default do  
else  
for  
if in  
switch  
while  
end  
/C4"Other keywords"  
alias  
catch  
global  
proc  
return  
source  
/C5"Operators"  
!  
%  
&  
\*  
+  
-  
,  
v  
m  
p  
// /  
:  
\<  
=

> ?  
> ^  
> |  
> /C6"Variables"  
> \*\* $  
> /C7"Commands"  
> `  
> approximate  
> camera color  
> data direction  
> group  
> instance  
> knot  
> light link   
> material min motion  
> object options  
> points  
> shader shadow surface  
> texture  
> vectors version vertices volume  
> /C8"Flags"  
> \*\* -a -b -c -d -e -f -g -h -i -j -k -l -m -n -o -p -q -r -s -t -u -v -w -x -y -z  
> \*\* -A -B -C -D -E -F -G -H -I -J -K -L -M -N -O -P -Q -R -S -T -U -V -W -X -Y -Z  
> /C4"Quotes"  
> "
