[Geany-Users] # user definable keywords

Lex Trotman elextr at gmail.com
Mon Sep 19 05:08:23 UTC 2016


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 <jvp at tubejoiners.com> wrote:
>  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
> Users at lists.geany.org
> https://lists.geany.org/cgi-bin/mailman/listinfo/users
>


More information about the Users mailing list