On Fri, 2 Mar 2007 13:08:27 -0500, "John Gabriele" jmg3000@gmail.com wrote:
On 2/25/07, Enrico Tröger enrico.troeger@uvena.de wrote:
On Thu, 22 Feb 2007 20:46:11 +0100, Enrico Tröger enrico.troeger@uvena.de wrote:
Yes, looks quite good. I think I'll add this tomorrow. Seems to be a nice feature and isn't hard to implement.
Just for your interest: I'm about to implement this but it will still take some days...so please be patient.
It took some more days than expected and it wasn't that trivial ;-). But now it's in SVN and should work, at least a little bit.
You can define several custom commands [snip]
Enrico, why limit key combos to only the first three?
It was to not have so many keybindings defined. And I assumed that most users wouldn't use so many scripts. But we can increase the number to 5 or maybe even 10. Nick, what do you think?
- rewrap #-commented paragraph (fmt --prefix=# --width=70)
(Note, possible bug: this one only works if I *don't* put single or double quotes around the # symbol.)
Hmm, sounds like a quoting problem in the code. I will have a look at this, but maybe first on Monday or Tuesday.
- my own script to comment lines by just putting a '# ' at the
beginning of each line. Geany's default ``comment lines'' puts the comment symbol right in front of the first non-whitespace character, and I think it's less readable than a nice uniform vertical line of comment symbols right at column 0.
You can adjust this. There is a variable "comment_use_indent" in each filetype definition file where you can specify whether the comment character(s) should be placed on first column or after indention. Look at http://geany.uvena.de/manual/ch04.html#filetypes_format, there is some documentation for it.
Regards, Enrico
-- Get my GPG key from http://www.uvena.de/pub.key