Re: [code] Python folding pretty broken

From: Mitchell <m.att.foicica.com>
Date: Mon, 23 Feb 2015 10:11:35 -0500 (EST)

Hi Carlos,

On Sat, 21 Feb 2015, Carlos Pita wrote:

> Hi all,
>
> the python lexer sets fold.by.indentation. The indentation criterion
> is fine for python except that top level folds are created on each
> blank line, splitting functions, pydocs and classes folds. I
> understand blank lines are in a sense top level indentation folds, but
> is there any way to disable folding creation on blank lines? Try to
> open a more or less complex python source file (say fractions.py) and
> check what I'm saying.
>
> Also, after opening a python file open another one: there is no
> folding at all. It seems like only the first opened file gets folded.
>
> At least for python, folding is in a pretty bad shape from the point
> of view of usability.

Yes you're right. Improvements need to be made. I don't have an estimate
on how long it will take though. I'll let you know when I have something
though.

Cheers,
Mitchell

-- 
You are subscribed to code.att.foicica.com.
To change subscription settings, send an e-mail to code+help.att.foicica.com.
To unsubscribe, send an e-mail to code+unsubscribe.att.foicica.com.
Received on Mon 23 Feb 2015 - 10:11:35 EST

This archive was generated by hypermail 2.2.0 : Tue 24 Feb 2015 - 06:43:34 EST