Hi,
I am quite new to Geany and this is my first post to the list. First, thank you to the developers for a very fast and lightweight program which so far is doing everything just like I want!
Everything except for one, that is ;-)
If at all possible, how can I have Geany highlight start and end tags, so that when the cursor is in either the start or end tag, both are highlighted?
When working in Windows I'm using Notepad plus and find this feature very useful. Was expecting to find it in Geany as well, but couldn't fint it from settings or help file. Very thankful for any input on this.
Running Geany 0.13 on Ubuntu 8.04
Best to all, Alf
Alf Haakon Lund wrote:
Running Geany 0.13 on Ubuntu 8.04
I am running Geany 0.16 on Ubuntu 8.04 and the feature you asked is there itself.
You need to update to Geany 0.16, if its doesnt happen via official repos, add the PPA for Geany Developers
"deb http://ppa.launchpad.net/geany-dev/ppa/ubuntu hardy main"
Add this to Third Party software tabs of Software Sources Below is the text of Public Key which is used to sign the repo
-----BEGIN PGP PUBLIC KEY BLOCK----- Version: SKS 1.0.10
mI0ESa7U+wEEAKuMp1ZzpqpTjdR0FBKFNKHiC9si2c26R+x1i3XUqe8vhwuhp0LttyxXhGHZ AzDgHpPXSDjoo28dTvEoMKueWDLdC/w+ckuHYpadjUTbZgS+AiY5dU5AiT7GqM8Ds0pcjFB8 wAbbeLjjRye2BCdvV6pfu8naTWbgnCWB5kEClOMvABEBAAG0IkxhdW5jaHBhZCBQUEEgZm9y IEdlYW55IERldmVsb3BlcnOItgQTAQIAIAUCSa7U+wIbAwYLCQgHAwIEFQIIAwQWAgMBAh4B AheAAAoJEHEkC4+zZBIyuH4EAJd6tKx9g8aU3+LPIrozE2l154jJB4O//N0sRj2sv/csXHRr w0hMj14YKB16jiYUsMwrYvrxINZ8B9b9BDgfA2cNpsusJ/wgGe9MuVQajAYUDoqULyKE62lT rezH8PaEDPvhsG/+kSS9Et4CfcERWTICii3iHA6hKkoltW+8lAFK =XQZG -----END PGP PUBLIC KEY BLOCK-----
Copy this text to a file,in Authentication Tab of Software Sources, click Import Key and select this file Then reload the index. Update manager will find the new version and update you to 0.16 If you have any problems, ask us!
Enjoy!
Thank you for info on upgrading - I'm now running Geany 0.16 on Ubuntu 8.04!
However it seems I'm missing something obvious here, as the tags are still not highlighted, and I'm still unable to find any setting to turn this on. Are you sure we are thinking of the same feature?
What I want is for the starting tag and ending tag to be highlighted when I'm placing the cursor in any of them.
<div> -- highlight
(lots of (messy) code) ;-)
</div> -- highlight
Best wishes, Alf
Fra "Manish Sinha (मनीष सिन्हा)" mail@manishsinha.net fre 27-03-2009 20:35:51 CET:
Alf Haakon Lund wrote:
Running Geany 0.13 on Ubuntu 8.04
I am running Geany 0.16 on Ubuntu 8.04 and the feature you asked is there itself.
You need to update to Geany 0.16, if its doesnt happen via official repos, add the PPA for Geany Developers
"deb http://ppa.launchpad.net/geany-dev/ppa/ubuntu hardy main"
Add this to Third Party software tabs of Software Sources Below is the text of Public Key which is used to sign the repo
-----BEGIN PGP PUBLIC KEY BLOCK----- Version: SKS 1.0.10
mI0ESa7U+wEEAKuMp1ZzpqpTjdR0FBKFNKHiC9si2c26R+x1i3XUqe8vhwuhp0LttyxXhGHZ AzDgHpPXSDjoo28dTvEoMKueWDLdC/w+ckuHYpadjUTbZgS+AiY5dU5AiT7GqM8Ds0pcjFB8 wAbbeLjjRye2BCdvV6pfu8naTWbgnCWB5kEClOMvABEBAAG0IkxhdW5jaHBhZCBQUEEgZm9y IEdlYW55IERldmVsb3BlcnOItgQTAQIAIAUCSa7U+wIbAwYLCQgHAwIEFQIIAwQWAgMBAh4B AheAAAoJEHEkC4+zZBIyuH4EAJd6tKx9g8aU3+LPIrozE2l154jJB4O//N0sRj2sv/csXHRr w0hMj14YKB16jiYUsMwrYvrxINZ8B9b9BDgfA2cNpsusJ/wgGe9MuVQajAYUDoqULyKE62lT rezH8PaEDPvhsG/+kSS9Et4CfcERWTICii3iHA6hKkoltW+8lAFK =XQZG -----END PGP PUBLIC KEY BLOCK-----
Copy this text to a file,in Authentication Tab of Software Sources, click Import Key and select this file Then reload the index. Update manager will find the new version and update you to 0.16 If you have any problems, ask us!
Enjoy!
-- Manish Sinha
Blog [ http://blog.manishsinha.net/ ] Tech Blog [ http://manishtech.wordpress.com/ ] Twitter [ http://twitter.com/ManishSinha ] _______________________________________________ Geany mailing list Geany@uvena.de http://lists.uvena.de/cgi-bin/mailman/listinfo/geany
Alf Haakon Lund wrote:
Thank you for info on upgrading - I'm now running Geany 0.16 on Ubuntu 8.04!
However it seems I'm missing something obvious here, as the tags are still not highlighted, and I'm still unable to find any setting to turn this on. Are you sure we are thinking of the same feature?
What I want is for the starting tag and ending tag to be highlighted when I'm placing the cursor in any of them.
<div> -- highlight
(lots of (messy) code) ;-)
</div> -- highlight
Goto Edit>Preferences>Editor
My settings are: Features: Enabled "smart" key home,Enable Folding,Use Indicators to show compilation errors Indentation: Width '4' Spaces Completions: Snipper Auto completion, XML tag auto completion, Automatic continuation of multi-line comments, then three values are 4,10,30, Autoclose quotes and brackets have () {} and [] selected Display: Show indentation Guides, Show white spaces, Show line numbers
I don't remember which one of these are by default. Please try these settings and tell me which one are default and which one I changed since I dont remember my custom changes I made, it has been a month since I made the change.
No luck :-(
I have pretty much the same settings and playing around with them does not turn on any highlighting. I tried to look in the config file as well, but didn't find any obvious choice.
Thanks a bunch anyway for bothering. I'll try uninstalling and install again and if this fixes the problem I'll let you know.
Best wishes, Alf
Fra "Manish Sinha (मनीष सिन्हा)" mail@manishsinha.net lør 28-03-2009 16:32:38 CET:
Alf Haakon Lund wrote:
Thank you for info on upgrading - I'm now running Geany 0.16 on Ubuntu 8.04!
However it seems I'm missing something obvious here, as the tags are still not highlighted, and I'm still unable to find any setting to turn this on. Are you sure we are thinking of the same feature?
What I want is for the starting tag and ending tag to be highlighted when I'm placing the cursor in any of them.
<div> -- highlight
(lots of (messy) code) ;-)
</div> -- highlight
Goto Edit>Preferences>Editor
My settings are: Features: Enabled "smart" key home,Enable Folding,Use Indicators to show compilation errors Indentation: Width '4' Spaces Completions: Snipper Auto completion, XML tag auto completion, Automatic continuation of multi-line comments, then three values are 4,10,30, Autoclose quotes and brackets have () {} and [] selected Display: Show indentation Guides, Show white spaces, Show line numbers
I don't remember which one of these are by default. Please try these settings and tell me which one are default and which one I changed since I dont remember my custom changes I made, it has been a month since I made the change.
-- Manish Sinha
Blog [ http://blog.manishsinha.net/ ] Tech Blog [ http://manishtech.wordpress.com/ ] Twitter [ http://twitter.com/ManishSinha ] _______________________________________________ Geany mailing list Geany@uvena.de http://lists.uvena.de/cgi-bin/mailman/listinfo/geany
On Sat, 28 Mar 2009 16:52:55 +0100, Alf wrote:
No luck :-(
I have pretty much the same settings and playing around with them does not turn on any highlighting. I tried to look in the config file as well, but didn't find any obvious choice.
Thanks a bunch anyway for bothering. I'll try uninstalling and install again and if this fixes the problem I'll let you know.
It won't change anything. This is not supported. Not sure what Manish was talking about. But highlighting whole tags is not supported in Geany. However, if someone wants to write a patch, that's welcome as usual.
What Geany supports so far is highlighting usual braces and brackets ('{' '(' '{' '[') and also the less/greather than characters ('<', '>') however to get the latter ones highlighted, you need to set "brace_match_ltgt" to true in the config file. But this is not really what you are looking for.
Regards, Enrico
Thank you for clarifying, Enrico!
I was starting to suspect it was not supported, and unfortunately my programming skills does not allow me to write a patch. I like Geany anyway, and maybe one day it will highlight whole tags as well. I found the "brace_match_ltgt" in the settings, it's quite useful as well.
Best wishes, Alf
Fra Enrico Tröger enrico.troeger@uvena.de søn 29-03-2009 18:34:53 CEST:
On Sat, 28 Mar 2009 16:52:55 +0100, Alf wrote:
No luck :-(
I have pretty much the same settings and playing around with them does not turn on any highlighting. I tried to look in the config file as well, but didn't find any obvious choice.
Thanks a bunch anyway for bothering. I'll try uninstalling and install again and if this fixes the problem I'll let you know.
It won't change anything. This is not supported. Not sure what Manish was talking about. But highlighting whole tags is not supported in Geany. However, if someone wants to write a patch, that's welcome as usual.
What Geany supports so far is highlighting usual braces and brackets ('{' '(' '{' '[') and also the less/greather than characters ('<', '>') however to get the latter ones highlighted, you need to set "brace_match_ltgt" to true in the config file. But this is not really what you are looking for.
Regards, Enrico
-- Get my GPG key from http://www.uvena.de/pub.asc