On 16.09.2010 22:17, Jiří Techet wrote:
I have just re-tested it again and it works on my machine (I have forgotten one trace in the code - that's what you see in the console). A quick question: have you read the commit log?
I admit I didn't because it looked so long and I was tired :)
This means that in order to make it work e.g. for C, you have to edit
~/.config/geany/filedefs/filetypes.c
(or the corresponding file under /usr/local/share/geany) and add
indent_next_line_regex=^.*\{[[:blank:]]*$ unindent_this_line_regex=^[[:blank:]]*\}$ indent_this_line_regex=^[[:blank:]]+\{$ unindent_next_line_regex=^[[:blank:]]*\}[[:blank:]]*$
under the [settings] section (+ restart geany). Please let me know if it works (but also in the opposite case ;-).
I see. I assumed it would default to how it works in mainline.
Best regards