[TxMt] Ruby bundle: strange indent

Patrick Gundlach textmate at contextgarden.net
Wed Aug 23 10:15:00 UTC 2006


Hi,

the following code behaves a bit strange when in ruby mode:

def to_pdf
  dictionary_writer({ 
    "Type" => "Pages",
    "Kids" => @kids,
    "Count" => @kids.size,
    "Resources" => @resources,
    "MediaBox"  => @mediabox,
    })
end


Just select all the text and indent it. The folding markers are at
lines 1,2 and 9 (odd number) and the 'end' is indented to the right.

What can I do?

Patrick



More information about the textmate mailing list