<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#CCCCCC" text="#000000">
<p>Hi All</p>
<p>I notice that in some filetypes. there are entries called:</p>
<p>user3=</p>
<p>user4=</p>
<p>From that I assumed that I can add more user key word lists (with
different colours).<br>
</p>
<p>I have edited my filetypes.freebasic by adding:</p>
<p>user3=myroutine <br>
</p>
<p>then added:</p>
<p>keyword_5=0xFF3030;;false;false</p>
<p>to filetypes.common (if Keyword_3 is user1, then hopefully
keyword_5 is user3)<br>
</p>
<p>However, that doesn't work. Is it even possible to do this, or
are there more changes to make ?<br>
</p>
<p><br>
</p>
<pre class="moz-signature" cols="72">Regards
Jan van de Poll</pre>
<div class="moz-cite-prefix">On 09/20/2016 07:33 AM, JVP wrote:<br>
</div>
<blockquote
cite="mid:3a29fbb6-fc98-b072-8536-4ad004aafb0f@TubeJoiners.com"
type="cite">
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
<p>Hi All</p>
<p>Thanks Lex, I have it working now.</p>
<p>Another reason why it didn't, is any of the letters are
capitalized ie: user1=Myspecialword<br>
</p>
<p>Now all I have to do is choose the right colours so the
programming page doesn't look</p>
<p>like a Picasso.<br>
</p>
<pre class="moz-signature" cols="72">Regards
Jan van de Poll</pre>
<div class="moz-cite-prefix">On 09/19/2016 12:08 AM, Lex Trotman
wrote:<br>
</div>
<blockquote
cite="mid:CAKhWKDPkSo39vmr=5k9iEj9UpirbGttixB0nm7w9jXPKt4QOMQ@mail.gmail.com"
type="cite">
<pre wrap="">Works for me with latest Geany development version.
The `user1` keywords are highlighted by the `keyword_3` style. To
change that you should edit that style in the style file you are using
(which is filetypes.common if you are using the default style and
menu->tools->configuration files->filetypes.common will load it).
Cheers
Lex
On 19 September 2016 at 13:06, JVP <a moz-do-not-send="true" class="moz-txt-link-rfc2396E" href="mailto:jvp@tubejoiners.com"><jvp@tubejoiners.com></a> wrote:
</pre>
<blockquote type="cite">
<pre wrap=""> Hi All
Using FreeBasic with Geany 1.27 and having difficulty getting the
user1=myspecialword to work.
I have copied the filetypes.freebasic to ~/.config/geany/filedefs and edited
it there.
>From my reading on the FreeBasic forum I saw that the colouring of user1 is
controlled by word3.
The filetypes.freebasic suggest editing colours in the colorscheme .conf
file.
There wasn't a file there, but copying alt.conf there made no change at all.
If I add my word to the [keywords] then it gets high lighted, but I want
separate colours for
the user1 keywords.
Can someone please suggest what the problem is.
Regards
_______________________________________________
Users mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:Users@lists.geany.org">Users@lists.geany.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="https://lists.geany.org/cgi-bin/mailman/listinfo/users">https://lists.geany.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<pre wrap="">
</pre>
</blockquote>
<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.geany.org">Users@lists.geany.org</a>
<a class="moz-txt-link-freetext" href="https://lists.geany.org/cgi-bin/mailman/listinfo/users">https://lists.geany.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</body>
</html>