[Geany-devel] Indentation using regex (was [PATCH 14/19] Rewrite tab switching queue)

Lex Trotman elextr at xxxxx
Tue Dec 6 21:00:37 UTC 2011


[...]

> This is exactly what my regex-based indentation did and I assume what
> Colomban's experiment does too. The problem Colomban was trying to
> resolve was what to do when you have an end-block keyword "fi" which
> should unindent and then have an identifier "file" (notice the "fi"
> prefix) which shouldn't unindent. In this case there should be some
> "undo indent" when you add more letters after "fi".

And that is why I chose the option for auto indentation to only be
executed on return or when the user said to, then you know the word is
finished.

Cheers
Lex



More information about the Devel mailing list