On 19 June 2010 11:23, Frank Lanitz frank@frank.uvena.de wrote:
Hi,
On Thu, 17 Jun 2010 11:21:18 +0100 Ronan Chilvers ronan@d3r.com wrote:
The other guys in my office are Mac / TextMate users. TextMate has code folding (like geany) but it has a feature that I'd find really useful in geany. The code can be folded per level so Apple+Shift+1 folds 'level 1' folds, Apple+Shift+2 folds 'level 2' folds, etc. I use code folding a lot and it would be very handy to have (in addition to the existing code
folding
ability) a keystroke (standard or custom) which could open or close to a particular level of folding.
Sounds interesting. Can you say something about how the levels are recognized?
Chatting to one of the TextMate chaps here, I believe the folds happen on braces or other characters that are considered block level - so I think with HTML folds happen on divs, body, html, etc. You end up with a number key for each brace level working from the outermost inwards. I can quiz the TextMaters here for more info if you like?
Cheers