From: Zeljko Dakic Date: 2001-06-21T18:03:59+09:00 Subject: [ruby-talk:16688] weird behavior of editor Hi gang, I use Win and noticed strange and silly behavior. I'm learning Ruby and started putting together a little example. Anyway, editor indents everything properly until I write 30.times {print "-"} when I write 30.times or 30.times do print "-" end everything is OK. So braces confuse editor to behave like I wrote end. so I'm constantly getting: class Something ... def print ... some code 30.times {print "-"} ... more code end While there are many great things about Ruby, what really brought smile on my face was things like 30.times {..} and puts "Great" if something. I just thought that you should know. Regards, Zeljko Dakic EMail: zdakic@iname.com