On 22 September 2010 21:57, Jiří Techet <[email protected]> wrote:
> On Wed, Sep 22, 2010 at 13:47, Lex Trotman <[email protected]> wrote:
>> On 22 September 2010 20:47, Jiří Techet <[email protected]> wrote:
>>> Hi Lex,
>>>
>>> On Tue, Sep 21, 2010 at 02:41, Lex Trotman <[email protected]> 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;
>>>>    };
>>>>    }
>>>
>>> This works for me - if you press }, it should get unindented. How did
>>> you enter the code (copy-paste or something like that)?
>>
>> No, I just typed it in order from the first character to the last }.
>> Note that the } before did undent correctly.  Any suggestions what to
>> look at?
>
> Hmm. Do you use "current chars" or "match braces" method?

Match braces.

 I use "match
> braces" normally and I haven't tested "current chars" so much so there
> might be some bugs.

Like we both said previously, should replace "current chars" and
"match braces" with "use regexes"

 Also what line endings does your document have?

Normal Linux doc, \n I saved an empty .c file and then typed into it.

Cheers
Lex

 I
> had some problems with matching lines containing CRLF because CR
> remained at the end of line and the pattern never matched. But this
> one should be fixed. No more ideas right now.
>
> Jiri
> _______________________________________________
> Geany-devel mailing list
> [email protected]
> http://lists.uvena.de/cgi-bin/mailman/listinfo/geany-devel
>
_______________________________________________
Geany-devel mailing list
[email protected]
http://lists.uvena.de/cgi-bin/mailman/listinfo/geany-devel

Reply via email to