Re: [code] Python folding pretty broken

From: Mitchell <m.att.foicica.com>
Date: Mon, 23 Feb 2015 15:40:06 -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.

I just committed a change[1]. Let me know if it helps.

Cheers,
Mitchell

[1]: http://foicica.com/hg/scintillua/rev/3bef0667eca1

-- 
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 - 15:40:06 EST

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