I attempted to add Euphoria information to: <a href="http://wiki.geany.org/config/start" target="_blank">http://wiki.geany.org/config/<u></u>start</a><div class="HOEnZb"></div>It appears that I have mucked up the page a bit by adding my whole file when I should have added a link to the file.  I have a draft saved... what is the best way<div>
to recover?</div><div><br></div><div>Thanks in advance,</div><div>Ken Rhodes<br><br><div class="gmail_quote">On Sat, Feb 23, 2013 at 4:37 PM, Matthew Brush <span dir="ltr"><<a href="mailto:mbrush@codebrainz.ca" target="_blank">mbrush@codebrainz.ca</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">On 13-02-23 01:32 PM, Matthew Brush wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On 13-02-23 11:57 AM, Codger wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Greetings All,<br>
<br>
This "kludge" may interest those who are interested in using Geany to<br>
edit<br>
source files in languages for which Geany has no native support.<br>
<br>
I have managed to obtain a high degree of support for the Euphoria<br>
Programming Language, including syntax color and context sensitive<br>
help, by<br>
backing up the original lua support files/references in filetypes.lua,<br>
filetype_extensions.conf, and snippets.conf,  and then editing the lua<br>
files/references to<br>
support Euphoria.  Support for Lua can be swapped/restored back by<br>
executing a batch file type program,<br>
written in Euphoria, which overwrites the the euphoria enabled, files<br>
with<br>
the origninal Lua support  files.  In like manner, Euphoria support<br>
can be<br>
selected again by copying/overwriting the Lua enabled files with those<br>
supporting Euphoria.<br>
<br>
</blockquote>
<br>
TLDR; but you can make a custom filetype based on Lua's without<br>
clobbering the old one, there's some info in the manual:<br>
<a href="http://www.geany.org/manual/current/index.html#custom-filetypes" target="_blank">http://www.geany.org/manual/<u></u>current/index.html#custom-<u></u>filetypes</a><br>
<br>
The general idea goes something like this:<br>
<br>
     $ cp /usr/local/share/geany/<u></u>filetypes.lua \<br>
         /home/you/.config/geany/<u></u>filedefs/filetypes.Euphoria.<u></u>conf<br>
<br>
And then edit the filetypes.Euphoria.conf file to customize keywords,<br>
settings, styles, etc. Then you need to add an extension to<br>
filetype_extensions.conf [Extensions] group:<br>
<br>
     Euphoria=*.eu;<br>
<br>
And then add it to a [Groups] group in that same file:<br>
<br>
     Script=...;Euphoria;<br>
<br>
Then after you restart all Geany instances you can have Lua and Euphoria<br>
side by side without having to choose which one is supported.<br>
<br>
</blockquote>
<br></div></div>
Forgot the last step, put it on Geany's Wiki :)<br>
<a href="http://wiki.geany.org/config/start" target="_blank">http://wiki.geany.org/config/<u></u>start</a><div class="HOEnZb"><div class="h5"><br>
<br>
Cheers,<br>
Matthew Brush<br>
______________________________<u></u>_________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.geany.org" target="_blank">Users@lists.geany.org</a><br>
<a href="https://lists.geany.org/cgi-bin/mailman/listinfo/users" target="_blank">https://lists.geany.org/cgi-<u></u>bin/mailman/listinfo/users</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>Kenneth Rhodes<div>Ubuntu 12.1</div><div>100% MicroSoft Free!</div>
</div>