From: "Rob ." Date: 2005-05-14T22:22:49+09:00 Subject: Re: Ruby indenting in jEdit Jay, by just typing your example line by line in a blank .rb file the indenting is correct for me in jEdit 4.2final with v0.6.6 of the Ruby Editor Plugin: http://www.jedit.org/ruby/download/ I'll try this out under 4.3pre2. I know some changes were made for indenting in 4.3 that might be stuffing things up for Ruby code. In the meantime, some questions: 1) What version of the Ruby plugin are you running? 2) Is you example from a otherwise empty file, if not can you sent me the complete file. 3) What order did you type the example in? Cheers, Rob On 5/14/05, Jay Levitt wrote: > For some reason, jEdit 4.3pre2 (JRE5, Windows XP SP2) wants to indent > any "end" statements with the rest of the block, which of course throws > off every succeeding line. I've downloaded Karl von Laudermann's > ruby.xml 0.6, but this hasn't made a difference. In fact, now that I > notice, if/then/else has a problem too. Anyone have any ideas how to > troubleshoot this? > > Example: > > if blah > puts "hi" > else > puts "bye" > end > > -- > Jay Levitt | > Wellesley, MA | I feel calm. I feel ready. I can only > Faster: jay at jay dot fm | conclude that's because I don't have a > http://www.jay.fm | full grasp of the situation. - Mark Adler