[prev in list] [next in list] [prev in thread] [next in thread]
List: pykde
Subject: Re: [PyKDE] eric3, qscintilla and code folding
From: Phil Thompson <phil () riverbankcomputing ! co ! uk>
Date: 2006-06-26 8:53:46
Message-ID: 200606260953.47099.phil () riverbankcomputing ! co ! uk
[Download RAW message or body]
On Wednesday 12 October 2005 6:44 am, Brad Ralph wrote:
> Hello all,
>
> I have one small problem that is continually driving me crazy.
>
> When I create classes, I often want to fold all of the methods of the class
> (if there are a lot of them, to make it easier to navigate. No problem i
> think ... just select 'toggle all folds' in the menu and then expand the
> class fold. but I'd be wrong. It seems that if a fold is collapsed then
> the toggle function does not look inside that block and since the class
> fold is the first in the file 'toggle all folds' only colapses the class.
> when I open it again, all of the methods are still expanded.
>
> I had a peek around the eric3 code, but all the magic seems to be done in
> QScintilla.
>
> My question therefore is:
>
> Is it possible to toggle all of the code folds at the same time or is it a
> 'feature' of QScintilla and I just have to live with it the way it is?
I've changed QextScintilla::foldAll() to take an optional argument that causes
the fold/unfold to be applied to all child fold points as well.
Phil
_______________________________________________
PyKDE mailing list PyKDE@mats.imk.fraunhofer.de
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic