> how can i implement the folding for the corresponding "{ }" in
> Java,like in NotePad++?
> and about the dashed?we know that with the dashed it is easy to
> distinguish the structure between the { } pair.
> please help!
> thanks a lot!
What are you asking? If you are asking for how to write a syntax file
that tells a particular IDE how to fold Java braces, then I can't help
you there. If you are asking for a general routine to fold corresponding
braces, then a stack-based routine is simple enough to do the trick.