<br><b><i>Markus Triska <markus.triska@gmx.at></i></b> wrote:<blockquote class="replbq" style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><radse1@yahoo.com>Some snippets taken from "Prolog mode for (X)Emacs" which also<br>supports Mercury and is available from<br>http://turing.ubishops.ca/home/bruda/emacs-prolog/ ...<br><br></radse1@yahoo.com></blockquote>Thanks Markus but as I said to Jon, I need to make the best/perfect highlighter and code completer since I'm making IDE only for Mercury. So I must have all that's to highlight in a list like:<br>.<br>.<br>.<br>module<br>interface<br>import_module<br>.<br>.<br>etc.<br><br>The editor component in Merca is a SynEdit <a name="highlighters">component. If you have a look at <br><br>http://synedit.sourceforge.net/statedel.php#highlighters<br><br>you'll see that they have highlighters for about 35 languages. Unlucky for me they don't have one for Mercury
 (yet).<br><br>Rod<br></a><p> __________________________________________________<br>Do You Yahoo!?<br>Tired of spam?  Yahoo! Mail has the best spam protection around <br>http://mail.yahoo.com