<div>Greetings All,<div><br></div><div>This "kludge" may interest those who are interested in using Geany to edit source files in languages for which Geany has no native support. </div><div><br></div><div>I have managed to obtain a high degree of support for the Euphoria Programming Language, including syntax color and context sensitive help, by backing up the original lua support files/references in filetypes.lua, filetype_extensions.conf, and snippets.conf,  and then editing the lua files/references to</div>
<div>support Euphoria.  Support for Lua can be swapped/restored back by executing a batch file type program,</div><div>written in Euphoria, which overwrites the the euphoria enabled, files with the origninal Lua support  files.  In like manner, Euphoria support can be selected again by copying/overwriting the Lua enabled files with those supporting Euphoria.  </div>
<div><br></div><div>This is copied from the Euphoria mailing list:</div><div><br></div><div><p style="margin:0em 0em 1em;padding:0px 10px;line-height:1.2em;color:rgb(88,88,88);font-family:'trebuchet ms',helvetica,sans-serif;font-size:13.333333015441895px">
I have posted the latest version of Geany support files and utility programs on the RDS User contribution page:<a class="external" href="http://www.rapideuphoria.com/eugeany.tar.gz" style="margin:0em;padding:0em;color:rgb(47,142,101)">http://www.rapideuphoria.com/eugeany.tar.gz</a> . The Context Sensitive Help Program <a href="http://openeuphoria.org/wiki/view/EuHelp.wc" style="margin:0em;padding:0em;color:rgb(47,142,101)">EuHelp</a> is included with the support files, together with a utility program called "gny.ex", which is used to backup the original lua support files and restore them, if desired. A "euphoria enabled" snippets file is also included.</p>
<p style="margin:0em 0em 1em;padding:0px 10px;line-height:1.2em;color:rgb(88,88,88);font-family:'trebuchet ms',helvetica,sans-serif;font-size:13.333333015441895px">All the support files and utility programs are contained in the directory "<a href="http://openeuphoria.org/wiki/view/EuGeany.wc" style="margin:0em;padding:0em;color:rgb(47,142,101)">EuGeany</a>". Once you decompress the <a href="http://openeuphoria.org/wiki/view/EuGeany.wc" style="margin:0em;padding:0em;color:rgb(47,142,101)">EuGeany</a> folder, all you have to do is run the program gny.ex to install and set the system up so you can swap lua/euphoria support whenever you wish.</p>
<p style="margin:0em 0em 1em;padding:0px 10px;line-height:1.2em;color:rgb(88,88,88);font-family:'trebuchet ms',helvetica,sans-serif;font-size:13.333333015441895px">IMPORTANT: you will need to edit the constants which reference FILEDEF_DIR, FILETYPE_EXT_DIR, and SNIPPETS_DIR before running gny.ex! The latest version of gny.ex is included below, but everything you need is contained in the <a href="http://openeuphoria.org/wiki/view/EuGeany.wc" style="margin:0em;padding:0em;color:rgb(47,142,101)">EuGeany</a>download files.</p>
<p style="margin:0em 0em 1em;padding:0px 10px;line-height:1.2em;color:rgb(88,88,88);font-family:'trebuchet ms',helvetica,sans-serif;font-size:13.333333015441895px">Gny.ex is set up to translate/compile <a href="http://openeuphoria.org/wiki/view/EuHelp.wc" style="margin:0em;padding:0em;color:rgb(47,142,101)">EuHelp</a>.ex and gny.ex and then copy those programs to EUDIR/bin/ by default, but you can install those programs manually by setting the value of the constant COMPILE_INSTALL_EUHELP_GNY to FALSE. The path to EUDIR is set without using an environment variable</p>
<p style="margin:0em 0em 1em;padding:0px 10px;line-height:1.2em;color:rgb(88,88,88);font-family:'trebuchet ms',helvetica,sans-serif;font-size:13.333333015441895px">Comments, suggestions for improvements, etc. will be appreciated.</p>
</div><div><div>I would deeply appreciate  if anyone who is interested in extending Geany's support to languages not currently supported, would take a look at my method and providing any criticisms/comments/ suggestions for improvement.  Euphoria is a very interesting language which is also very easy to learn.  Even a  novice programmer will be able to "read" the main program, "gny.ex" with no problem.</div>
<div><br></div><div>If you are interested in taking a closer look at Euphoria, the current version, Euphoria 4.05,  for Linux and Windows, can be downloaded from <a href="http://openeuphoria.org/wiki/view/DownloadEuphoria.wc">http://openeuphoria.org/wiki/view/DownloadEuphoria.wc</a></div>
<div><br></div><div>More Euphoria resources are available at: </div><div>The OpenEuphoria Forum: <a href="http://openeuphoria.org/forum/index.wc">http://openeuphoria.org/forum/index.wc</a></div><div>Euphoria 4.0.5 online manual: <a href="http://openeuphoria.org/docs/index.html">http://openeuphoria.org/docs/index.html</a></div>
<div><br></div><div>Regards,</div><div>Ken Rhodes</div><div><font color="#000000"><a href="https://www.facebook.com/home.php?ref=logo"><br></a></font>-- </div>Kenneth Rhodes<div>Ubuntu 12.1</div><div>100% MicroSoft Free!</div>
</div></div><div><br></div><div><br></div><div>
</div>