[Geany] Re: Couple of small patches

Catalin Marinas catalin.marinas at xxxxx
Thu Dec 13 11:43:53 UTC 2007


On 13/12/2007, Catalin Marinas <catalin.marinas at gmail.com> wrote:
> The second patch adjusts the indentation if there is an open bracket
> on the previous line (similar to emacs but only checks the previous
> line). This is useful when writing function arguments on multiple
> lines, multiple conditions in an if statement, lists in Python etc.

I attached an updated version of this patch to take into account
braces as well if the language doesn't use them for blocks (this is
mainly to do nicer indentation of Python dictionaries).

-- 
Catalin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bracket-indent.patch
Type: text/x-patch
Size: 2362 bytes
Desc: not available
URL: <http://lists.geany.org/pipermail/users/attachments/20071213/0f71ec90/attachment.bin>


More information about the Users mailing list