On Oct 13, 2010, at 3:27 AM, Malte Christian wrote:

Is there any way, that Textmate could do this for other languages?

Text → Indent Selection or ⌥⌘[ should do that based on the grammar rules for that language and your tab preferences, but it doesn't always work as expected. There are also some language-specific “tidy” commands in some bundles that will reformat a document.

-- 
Rob McBroom
<http://www.skurfer.com/>