On Tue, Sep 21, 2010 at 03:10, Lex Trotman <ele...@gmail.com> wrote:
>>
>> Hi Jiri,
>>
>> Got it working, I'd put the regexes in the filetypes in the wrong
>> prefix, my mistake :-D
>>
>> But it doesn't seem to be working as expected.
>>
>> Using only the first two of your regexes the following gets:
>>
>> class foo {
>>    struct bar {
>>        int i;
>>    };
>>    }
>>
>> fair enough, the } regex doesn't expect anything after it so I added
>> .* after the } but now I get
>>
>> class foo {
>>    struct bar {
>>        int i;
>> };
>> }
>>
>> The }; line undents two levels??
>>
>> Cheers
>> Lex
>>
>>
>
> Another problem I found, if a comment line ends in { then the next
> line indents when it shouldn't

Yes, this is a bug - I check whether I'm in a comment or in a string,
but when enter is pressed, I should check the previous line as well.
Should be easy to fix. Thanks for noticing.

Jiri

>
> Cheers
> Lex
>
_______________________________________________
Geany-devel mailing list
Geany-devel@uvena.de
http://lists.uvena.de/cgi-bin/mailman/listinfo/geany-devel

Reply via email to