On 05/03/07, SPE Stani's Python Editor <[EMAIL PROTECTED]> wrote:
On 3/5/07, Ali Afshar <[EMAIL PROTECTED]> wrote:
Hi Ali, nice to hear from you again.
Hi, likewise,
> On 05/03/07, Rob McMullen <[EMAIL PROTECTED]> wrote:
>
> > I wonder if there's a way to determine from the python side which
> > languages support folding and which don't? HTML, for example, doesn't
> > produce any folding -- I had thought it might because of the nesting
> > of tags.
It *does*, if you change this:
def setFoldMargin(self):
self.SetProperty("fold", "1")
self.SetProperty("fold.html","1")
(...)
> Is that any different from nested code blocks?
How do you mean?
Well, I was considering that tag nesting was analogous to code block nesting,
say:
<div>
<a href="banana>Bananas</a>
</div>
and:
Class Foo:
def blah():
Or perhaps I was misunderstanding the meaning of "nested tags".
Ali