Hello list,
I would like to learn about tags and their relationship to syntax highlighting. If I understand the manual correctly, there is no direct connection of both things - tags are only used for the symbol browser, aren't they?
The background of my question is the following: I noticed that Geany doesn't highlight some LaTeX-stuff any more. Previously, I am sure that LaTeX commands such as \usepackage have been highlighted. Now, those commands look like ordinary text.
I downloaded the tag files from codebrainz's GitHub repository and installed them to ~/.config/geany/tags. However, Geany still doesn't highlight the commands mentioned before.
What is happening here?
I have GeanyLaTeX installed, also I use codebrainz's geany-themes. Changing the color scheme via View -> Editor -> Color Schemes -> ... doesn't change anything.
So, to conclude my questions:
1. Can anyone help me with the LaTeX syntax highlighting? 2. What are tags used for?
Thank you very much for help!
Greetings
Alex
Le 09/08/2011 18:33, Alexander Eberspächer a écrit :
Hello list,
Hi,
I would like to learn about tags and their relationship to syntax highlighting. If I understand the manual correctly, there is no direct connection of both things - tags are only used for the symbol browser, aren't they?
They are. Tags (and tagmanager) are only used for extracting tags from the document, presenting them in the sidebar and possibly providing auto-completion. Syntax highlighting is provided by separate lexers, in the Scintilla side (the editing component that Geany uses).
The background of my question is the following: I noticed that Geany doesn't highlight some LaTeX-stuff any more. Previously, I am sure that LaTeX commands such as \usepackage have been highlighted. Now, those commands look like ordinary text.
I downloaded the tag files from codebrainz's GitHub repository and installed them to ~/.config/geany/tags. However, Geany still doesn't highlight the commands mentioned before.
What is happening here?
I have GeanyLaTeX installed, also I use codebrainz's geany-themes. Changing the color scheme via View -> Editor -> Color Schemes -> ... doesn't change anything.
So, to conclude my questions:
- Can anyone help me with the LaTeX syntax highlighting?
Yeah, it's a bug in geany-themes (e.g. not a Geany bug). I just wrote a patch for it (thanks for reporting it :)), should be committed soon. I attach it here if you want to apply it locally in the meantime.
- What are tags used for?
As explained above: for the list in the sidebar and for auto-completion.
Regards, Colomban
On 08/09/11 10:45, Colomban Wendling wrote:
Le 09/08/2011 18:33, Alexander Eberspächer a écrit :
So, to conclude my questions:
- Can anyone help me with the LaTeX syntax highlighting?
Yeah, it's a bug in geany-themes (e.g. not a Geany bug). I just wrote a patch for it (thanks for reporting it :)), should be committed soon. I attach it here if you want to apply it locally in the meantime.
Thanks for reporting and fixing this, it's now committed by Colomban into geany-themes master branch.
Cheers, Matthew Brush (codebrainz)
On 09/08/11 21:49, Matthew Brush wrote:
Thanks for reporting and fixing this, it's now committed by Colomban into geany-themes master branch.
Thanks to both of you!
Let me hijack this thread for a short question: do you know if any attempts to add the Solarized colors have been made? (see http://ethanschoonover.com/solarized)
Greetings
Alex
On 08/09/11 12:56, Alexander Eberspächer wrote:
On 09/08/11 21:49, Matthew Brush wrote:
Thanks for reporting and fixing this, it's now committed by Colomban into geany-themes master branch.
Thanks to both of you!
Let me hijack this thread for a short question: do you know if any attempts to add the Solarized colors have been made? (see http://ethanschoonover.com/solarized)
Maciej Ciemborowicz has this theme[1][2] in his fork of geany-themes for converting TextMate themes to Geany. I think they might need a little tweaking to get some of the stuff the automation isn't yet handling right, but they might be usable.
Looking at the screenshots for Solarized, it's also quite close to Colomban's Tango light theme and the Tinge theme.
[1] https://github.com/ciembor/geany-themes/blob/master/colorschemes/Solarized%2... [2] https://github.com/ciembor/geany-themes/blob/master/colorschemes/Solarized%2...
Cheers, Matthew Brush