hi fellows i active highlight comments in geany anyone know how to disable this f..... function?? i have geany 1.38 in linux mint 64
On Tue, 21 Feb 2023 at 08:47, stefano cerbioni via Users users@lists.geany.org wrote:
hi fellows i active highlight comments in geany anyone know how to disable this f..... function?? i have geany 1.38 in linux mint 64
You can't "disable" it if the lexer does comment recognition, but you can set the comment style to default for the language you are using.
Cheers Lex
Users mailing list -- users@lists.geany.org To unsubscribe send an email to users-leave@lists.geany.org
sorry but i am very new of geany how is possible do that ?? i use ring language
Il giorno mar 21 feb 2023 alle ore 00:16 Lex Trotman via Users < users@lists.geany.org> ha scritto:
On Tue, 21 Feb 2023 at 08:47, stefano cerbioni via Users users@lists.geany.org wrote:
hi fellows i active highlight comments in geany anyone know how to
disable this f..... function??
i have geany 1.38 in linux mint 64
You can't "disable" it if the lexer does comment recognition, but you can set the comment style to default for the language you are using.
Cheers Lex
Users mailing list -- users@lists.geany.org To unsubscribe send an email to users-leave@lists.geany.org
Users mailing list -- users@lists.geany.org To unsubscribe send an email to users-leave@lists.geany.org
What do you mean "highlight comment"? I'm wondering because you're saying you activated it, so I'm not sure you're referring to syntax highlighting (code coloration) or something else.
Also I don't think we have any Ring file type (correct me if I'm wrong), so is that custom from somewhere?
On Tue, 21 Feb 2023 at 18:23, Ban via Users users@lists.geany.org wrote:
What do you mean "highlight comment"? I'm wondering because you're saying you activated it, so I'm not sure you're referring to syntax highlighting (code coloration) or something else.
Also I don't think we have any Ring file type (correct me if I'm wrong), so is that custom from somewhere?
The ring project https://ring-lang.github.io/doc1.17/codeeditors.html#using-geany
Users mailing list -- users@lists.geany.org To unsubscribe send an email to users-leave@lists.geany.org
i know i just do that and work but i dont know how , i active highlight comment , and now i cant find a option for disable it
Il giorno mar 21 feb 2023 alle ore 12:28 Lex Trotman via Users < users@lists.geany.org> ha scritto:
On Tue, 21 Feb 2023 at 18:23, Ban via Users users@lists.geany.org wrote:
What do you mean "highlight comment"? I'm wondering because you're
saying you activated it, so I'm not sure you're referring to syntax highlighting (code coloration) or something else.
Also I don't think we have any Ring file type (correct me if I'm wrong),
so is that custom from somewhere?
The ring project https://ring-lang.github.io/doc1.17/codeeditors.html#using-geany
Users mailing list -- users@lists.geany.org To unsubscribe send an email to users-leave@lists.geany.org
Users mailing list -- users@lists.geany.org To unsubscribe send an email to users-leave@lists.geany.org
On Wed, 22 Feb 2023 at 01:19, stefano cerbioni via Users users@lists.geany.org wrote:
i know i just do that and work but i dont know how , i active highlight comment , and now i cant find a option for disable it
It is enabled by the filetypes.Ring.conf file as part of the Ring filetype, you need to edit that file, or remove it (which will remove the filetype).
Il giorno mar 21 feb 2023 alle ore 12:28 Lex Trotman via Users users@lists.geany.org ha scritto:
On Tue, 21 Feb 2023 at 18:23, Ban via Users users@lists.geany.org wrote:
What do you mean "highlight comment"? I'm wondering because you're saying you activated it, so I'm not sure you're referring to syntax highlighting (code coloration) or something else.
Also I don't think we have any Ring file type (correct me if I'm wrong), so is that custom from somewhere?
The ring project https://ring-lang.github.io/doc1.17/codeeditors.html#using-geany
Users mailing list -- users@lists.geany.org To unsubscribe send an email to users-leave@lists.geany.org
Users mailing list -- users@lists.geany.org To unsubscribe send an email to users-leave@lists.geany.org
Users mailing list -- users@lists.geany.org To unsubscribe send an email to users-leave@lists.geany.org
i remove it but do the same , also restart of geany [image: image.png]
Il giorno mar 21 feb 2023 alle ore 22:21 Lex Trotman via Users < users@lists.geany.org> ha scritto:
On Wed, 22 Feb 2023 at 01:19, stefano cerbioni via Users users@lists.geany.org wrote:
i know i just do that and work but i dont know how , i active
highlight comment , and now i cant find a option for disable it
It is enabled by the filetypes.Ring.conf file as part of the Ring filetype, you need to edit that file, or remove it (which will remove the filetype).
Il giorno mar 21 feb 2023 alle ore 12:28 Lex Trotman via Users <
users@lists.geany.org> ha scritto:
On Tue, 21 Feb 2023 at 18:23, Ban via Users users@lists.geany.org
wrote:
What do you mean "highlight comment"? I'm wondering because you're
saying you activated it, so I'm not sure you're referring to syntax highlighting (code coloration) or something else.
Also I don't think we have any Ring file type (correct me if I'm
wrong), so is that custom from somewhere?
The ring project https://ring-lang.github.io/doc1.17/codeeditors.html#using-geany
Users mailing list -- users@lists.geany.org To unsubscribe send an email to users-leave@lists.geany.org
Users mailing list -- users@lists.geany.org To unsubscribe send an email to users-leave@lists.geany.org
Users mailing list -- users@lists.geany.org To unsubscribe send an email to users-leave@lists.geany.org
Users mailing list -- users@lists.geany.org To unsubscribe send an email to users-leave@lists.geany.org
On Wed, 22 Feb 2023 at 08:10, stefano cerbioni via Users < users@lists.geany.org> wrote:
i remove it but do the same , also restart of geany [image: image.png]
What filetype is shown in the status bar?
Il giorno mar 21 feb 2023 alle ore 22:21 Lex Trotman via Users < users@lists.geany.org> ha scritto:
On Wed, 22 Feb 2023 at 01:19, stefano cerbioni via Users users@lists.geany.org wrote:
i know i just do that and work but i dont know how , i active
highlight comment , and now i cant find a option for disable it
It is enabled by the filetypes.Ring.conf file as part of the Ring filetype, you need to edit that file, or remove it (which will remove the filetype).
Il giorno mar 21 feb 2023 alle ore 12:28 Lex Trotman via Users <
users@lists.geany.org> ha scritto:
On Tue, 21 Feb 2023 at 18:23, Ban via Users users@lists.geany.org
wrote:
What do you mean "highlight comment"? I'm wondering because you're
saying you activated it, so I'm not sure you're referring to syntax highlighting (code coloration) or something else.
Also I don't think we have any Ring file type (correct me if I'm
wrong), so is that custom from somewhere?
The ring project https://ring-lang.github.io/doc1.17/codeeditors.html#using-geany
Users mailing list -- users@lists.geany.org To unsubscribe send an email to users-leave@lists.geany.org
Users mailing list -- users@lists.geany.org To unsubscribe send an email to users-leave@lists.geany.org
Users mailing list -- users@lists.geany.org To unsubscribe send an email to users-leave@lists.geany.org
Users mailing list -- users@lists.geany.org To unsubscribe send an email to users-leave@lists.geany.org
Users mailing list -- users@lists.geany.org To unsubscribe send an email to users-leave@lists.geany.org
so i did do another test i remove geany and cancel a folder inside .config , i reinstall it and With surprise i notice in the filetypes_extensions.conf exist just ring , i decomment some extention , i open a ring program and comment is ok because i suppose the background is white , i add the colorscheme https://github.com/geany/geany-themes/ download zip and copy folder inside .config/geany ..., and when i choice a black do the same highlight comments but when use white background i see good [image: image.png] [image: image.png] but now the question is where is the problem ? o_O
Il giorno mar 21 feb 2023 alle ore 23:21 Lex Trotman via Users < users@lists.geany.org> ha scritto:
On Wed, 22 Feb 2023 at 08:10, stefano cerbioni via Users < users@lists.geany.org> wrote:
i remove it but do the same , also restart of geany [image: image.png]
What filetype is shown in the status bar?
Il giorno mar 21 feb 2023 alle ore 22:21 Lex Trotman via Users < users@lists.geany.org> ha scritto:
On Wed, 22 Feb 2023 at 01:19, stefano cerbioni via Users users@lists.geany.org wrote:
i know i just do that and work but i dont know how , i active
highlight comment , and now i cant find a option for disable it
It is enabled by the filetypes.Ring.conf file as part of the Ring filetype, you need to edit that file, or remove it (which will remove the filetype).
Il giorno mar 21 feb 2023 alle ore 12:28 Lex Trotman via Users <
users@lists.geany.org> ha scritto:
On Tue, 21 Feb 2023 at 18:23, Ban via Users users@lists.geany.org
wrote:
What do you mean "highlight comment"? I'm wondering because you're
saying you activated it, so I'm not sure you're referring to syntax highlighting (code coloration) or something else.
Also I don't think we have any Ring file type (correct me if I'm
wrong), so is that custom from somewhere?
The ring project https://ring-lang.github.io/doc1.17/codeeditors.html#using-geany
Users mailing list -- users@lists.geany.org To unsubscribe send an email to users-leave@lists.geany.org
Users mailing list -- users@lists.geany.org To unsubscribe send an email to users-leave@lists.geany.org
Users mailing list -- users@lists.geany.org To unsubscribe send an email to users-leave@lists.geany.org
Users mailing list -- users@lists.geany.org To unsubscribe send an email to users-leave@lists.geany.org
Users mailing list -- users@lists.geany.org To unsubscribe send an email to users-leave@lists.geany.org
Users mailing list -- users@lists.geany.org To unsubscribe send an email to users-leave@lists.geany.org
eureka i must change this line in this mode comment=;0x00000000;;true commentline=;00000000;;true inside a file filestype.ring.conf
i have another big question how is possible to add a tertiary keyword ?? i see this [keywords] # all items must be in one line primiry=.... secondary=... i add tertiary but where i tell use this color for all word in tertiary ??? thanks
Il giorno mar 21 feb 2023 alle ore 23:34 stefano cerbioni stfn77@gmail.com ha scritto:
so i did do another test i remove geany and cancel a folder inside .config , i reinstall it and With surprise i notice in the filetypes_extensions.conf exist just ring , i decomment some extention , i open a ring program and comment is ok because i suppose the background is white , i add the colorscheme https://github.com/geany/geany-themes/ download zip and copy folder inside .config/geany ..., and when i choice a black do the same highlight comments but when use white background i see good [image: image.png] [image: image.png] but now the question is where is the problem ? o_O
Il giorno mar 21 feb 2023 alle ore 23:21 Lex Trotman via Users < users@lists.geany.org> ha scritto:
On Wed, 22 Feb 2023 at 08:10, stefano cerbioni via Users < users@lists.geany.org> wrote:
i remove it but do the same , also restart of geany [image: image.png]
What filetype is shown in the status bar?
Il giorno mar 21 feb 2023 alle ore 22:21 Lex Trotman via Users < users@lists.geany.org> ha scritto:
On Wed, 22 Feb 2023 at 01:19, stefano cerbioni via Users users@lists.geany.org wrote:
i know i just do that and work but i dont know how , i active
highlight comment , and now i cant find a option for disable it
It is enabled by the filetypes.Ring.conf file as part of the Ring filetype, you need to edit that file, or remove it (which will remove the filetype).
Il giorno mar 21 feb 2023 alle ore 12:28 Lex Trotman via Users <
users@lists.geany.org> ha scritto:
On Tue, 21 Feb 2023 at 18:23, Ban via Users users@lists.geany.org
wrote:
> > What do you mean "highlight comment"? I'm wondering because you're
saying you activated it, so I'm not sure you're referring to syntax highlighting (code coloration) or something else.
> > Also I don't think we have any Ring file type (correct me if I'm
wrong), so is that custom from somewhere?
The ring project https://ring-lang.github.io/doc1.17/codeeditors.html#using-geany
> _______________________________________________ > Users mailing list -- users@lists.geany.org > To unsubscribe send an email to users-leave@lists.geany.org _______________________________________________ Users mailing list -- users@lists.geany.org To unsubscribe send an email to users-leave@lists.geany.org
Users mailing list -- users@lists.geany.org To unsubscribe send an email to users-leave@lists.geany.org
Users mailing list -- users@lists.geany.org To unsubscribe send an email to users-leave@lists.geany.org
Users mailing list -- users@lists.geany.org To unsubscribe send an email to users-leave@lists.geany.org
Users mailing list -- users@lists.geany.org To unsubscribe send an email to users-leave@lists.geany.org
Le 21/02/2023 à 12:28, Lex Trotman via Users a écrit :
On Tue, 21 Feb 2023 at 18:23, Ban via Users users@lists.geany.org wrote:
What do you mean "highlight comment"? I'm wondering because you're saying you activated it, so I'm not sure you're referring to syntax highlighting (code coloration) or something else.
Also I don't think we have any Ring file type (correct me if I'm wrong), so is that custom from somewhere?
The ring project https://ring-lang.github.io/doc1.17/codeeditors.html#using-geany
OK, I tested and I see the problem: I'm not sure why, but they manually mapped comment styles to (partial) colors (";0xfcfcfc;;true", which is "foreground;background;bold;italic", see https://geany.org/manual/#styling-section). This won't play nice with a custom color scheme, here a dark one.
You have 2 options:
1) (which I'd recommend) remove all content of the [styling] section in filetypes.Ring.conf, and replace that section with [styling=C]. It means inheriting from the C filetype, which is the one containing the definitions (because filetypes.Ring.conf uses lexer_filtype=C). I have no idea why they manually mapped all comment styles to a custom value, but so they did...
2) the override they have is the "default" style, with background 0xfcfcfc, and italics. You could replace this with either ";;;true" or "default,italic" to still use the "default" style mostly, but with italics. Not sure if it's actually any better than using the regular comment styles though...
In any case, I suggest you submit an issue/patch upstream for them to use a filetype that will play nicely with colorschemes (and especially not be terribly broken with dark ones, as it seems to be fashion nowadays).
Regards, Colomban
PS: actually, in any case it'd be better to use [styling=C] and only include overrides meant to exist in that section, that'd remove duplication, and avoid breaking if the lexer gains new styles.
thanks but for add teteray word ?
Il giorno mar 21 feb 2023 alle ore 23:54 Colomban Wendling via Users < users@lists.geany.org> ha scritto:
Le 21/02/2023 à 12:28, Lex Trotman via Users a écrit :
On Tue, 21 Feb 2023 at 18:23, Ban via Users users@lists.geany.org
wrote:
What do you mean "highlight comment"? I'm wondering because you're
saying you activated it, so I'm not sure you're referring to syntax highlighting (code coloration) or something else.
Also I don't think we have any Ring file type (correct me if I'm
wrong), so is that custom from somewhere?
The ring project https://ring-lang.github.io/doc1.17/codeeditors.html#using-geany
OK, I tested and I see the problem: I'm not sure why, but they manually mapped comment styles to (partial) colors (";0xfcfcfc;;true", which is "foreground;background;bold;italic", see https://geany.org/manual/#styling-section). This won't play nice with a custom color scheme, here a dark one.
You have 2 options:
- (which I'd recommend) remove all content of the [styling] section in
filetypes.Ring.conf, and replace that section with [styling=C]. It means inheriting from the C filetype, which is the one containing the definitions (because filetypes.Ring.conf uses lexer_filtype=C). I have no idea why they manually mapped all comment styles to a custom value, but so they did...
- the override they have is the "default" style, with background
0xfcfcfc, and italics. You could replace this with either ";;;true" or "default,italic" to still use the "default" style mostly, but with italics. Not sure if it's actually any better than using the regular comment styles though...
In any case, I suggest you submit an issue/patch upstream for them to use a filetype that will play nicely with colorschemes (and especially not be terribly broken with dark ones, as it seems to be fashion nowadays).
Regards, Colomban
PS: actually, in any case it'd be better to use [styling=C] and only include overrides meant to exist in that section, that'd remove duplication, and avoid breaking if the lexer gains new styles. _______________________________________________ Users mailing list -- users@lists.geany.org To unsubscribe send an email to users-leave@lists.geany.org
Le 22/02/2023 à 00:13, stefano cerbioni via Users a écrit :
thanks but for add teteray word ?
Currently the C lexer (which, as it's the used one, is what matters here) only supports 4 keyword sets, exposed as "primary", "secondary", "docComment" (but that one behaves differently, it only works inside doxygen-style comments), and the 4th is a special one used only internally (or not at all? not entirely sure right now).
We actually *could* add support for more, because the C lexer actually supports the application telling it to use more, but this requires code changes in Geany, as it currently doesn't use that feature. It's likely not trivial though to do though given the generic way things are done in this area.
So… short answer is that it's not possible. Long answer is that it *could* be added in Geany, but it's not trivial. Sorry.
Regards, Colomban
Il giorno mar 21 feb 2023 alle ore 23:54 Colomban Wendling via Users <users@lists.geany.org mailto:users@lists.geany.org> ha scritto:
Le 21/02/2023 à 12:28, Lex Trotman via Users a écrit : > On Tue, 21 Feb 2023 at 18:23, Ban via Users <users@lists.geany.org <mailto:users@lists.geany.org>> wrote: >> >> What do you mean "highlight comment"? I'm wondering because you're saying you activated it, so I'm not sure you're referring to syntax highlighting (code coloration) or something else. >> >> Also I don't think we have any Ring file type (correct me if I'm wrong), so is that custom from somewhere? > > The ring project > https://ring-lang.github.io/doc1.17/codeeditors.html#using-geany <https://ring-lang.github.io/doc1.17/codeeditors.html#using-geany> OK, I tested and I see the problem: I'm not sure why, but they manually mapped comment styles to (partial) colors (";0xfcfcfc;;true", which is "foreground;background;bold;italic", see https://geany.org/manual/#styling-section <https://geany.org/manual/#styling-section>). This won't play nice with a custom color scheme, here a dark one. You have 2 options: 1) (which I'd recommend) remove all content of the [styling] section in filetypes.Ring.conf, and replace that section with [styling=C]. It means inheriting from the C filetype, which is the one containing the definitions (because filetypes.Ring.conf uses lexer_filtype=C). I have no idea why they manually mapped all comment styles to a custom value, but so they did... 2) the override they have is the "default" style, with background 0xfcfcfc, and italics. You could replace this with either ";;;true" or "default,italic" to still use the "default" style mostly, but with italics. Not sure if it's actually any better than using the regular comment styles though... In any case, I suggest you submit an issue/patch upstream for them to use a filetype that will play nicely with colorschemes (and especially not be terribly broken with dark ones, as it seems to be fashion nowadays). Regards, Colomban PS: actually, in any case it'd be better to use [styling=C] and only include overrides meant to exist in that section, that'd remove duplication, and avoid breaking if the lexer gains new styles. _______________________________________________ Users mailing list -- users@lists.geany.org <mailto:users@lists.geany.org> To unsubscribe send an email to users-leave@lists.geany.org <mailto:users-leave@lists.geany.org>
Users mailing list -- users@lists.geany.org To unsubscribe send an email to users-leave@lists.geany.org
ooooo i wanna cry :D LoL ok uderstund thanks for deep instruction :)
thanks again
Il giorno ven 24 feb 2023 alle ore 22:38 Colomban Wendling via Users < users@lists.geany.org> ha scritto:
Le 22/02/2023 à 00:13, stefano cerbioni via Users a écrit :
thanks but for add teteray word ?
Currently the C lexer (which, as it's the used one, is what matters here) only supports 4 keyword sets, exposed as "primary", "secondary", "docComment" (but that one behaves differently, it only works inside doxygen-style comments), and the 4th is a special one used only internally (or not at all? not entirely sure right now).
We actually *could* add support for more, because the C lexer actually supports the application telling it to use more, but this requires code changes in Geany, as it currently doesn't use that feature. It's likely not trivial though to do though given the generic way things are done in this area.
So… short answer is that it's not possible. Long answer is that it *could* be added in Geany, but it's not trivial. Sorry.
Regards, Colomban
Il giorno mar 21 feb 2023 alle ore 23:54 Colomban Wendling via Users <users@lists.geany.org mailto:users@lists.geany.org> ha scritto:
Le 21/02/2023 à 12:28, Lex Trotman via Users a écrit : > On Tue, 21 Feb 2023 at 18:23, Ban via Users <users@lists.geany.org <mailto:users@lists.geany.org>> wrote: >> >> What do you mean "highlight comment"? I'm wondering because you're saying you activated it, so I'm not sure you're referring to syntax highlighting (code coloration) or something else. >> >> Also I don't think we have any Ring file type (correct me if I'm wrong), so is that custom from somewhere? > > The ring project > https://ring-lang.github.io/doc1.17/codeeditors.html#using-geany <https://ring-lang.github.io/doc1.17/codeeditors.html#using-geany> OK, I tested and I see the problem: I'm not sure why, but they
manually
mapped comment styles to (partial) colors (";0xfcfcfc;;true", which
is
"foreground;background;bold;italic", see https://geany.org/manual/#styling-section <https://geany.org/manual/#styling-section>). This won't play nice with a custom color scheme, here a dark one. You have 2 options: 1) (which I'd recommend) remove all content of the [styling] section
in
filetypes.Ring.conf, and replace that section with [styling=C]. It means inheriting from the C filetype, which is the one containing the definitions (because filetypes.Ring.conf uses lexer_filtype=C). I
have
no idea why they manually mapped all comment styles to a custom
value,
but so they did... 2) the override they have is the "default" style, with background 0xfcfcfc, and italics. You could replace this with either ";;;true"
or
"default,italic" to still use the "default" style mostly, but with italics. Not sure if it's actually any better than using the regular comment styles though... In any case, I suggest you submit an issue/patch upstream for them to use a filetype that will play nicely with colorschemes (and
especially
not be terribly broken with dark ones, as it seems to be fashion nowadays). Regards, Colomban PS: actually, in any case it'd be better to use [styling=C] and only include overrides meant to exist in that section, that'd remove duplication, and avoid breaking if the lexer gains new styles. _______________________________________________ Users mailing list -- users@lists.geany.org <mailto:users@lists.geany.org> To unsubscribe send an email to users-leave@lists.geany.org <mailto:users-leave@lists.geany.org>
Users mailing list -- users@lists.geany.org To unsubscribe send an email to users-leave@lists.geany.org
Users mailing list -- users@lists.geany.org To unsubscribe send an email to users-leave@lists.geany.org