From: Mooffie n/a Date: 2010-04-23T12:38:38+09:00 Subject: Re: DrX, an object inspector Caleb Clausen wrote: > > The size and style drop-down boxes don't work for me if I > close and then re-open drx a second time from within irb. Thanks for reminding me of this Ruby/Tk bug. I think I'll have a workaround soon. It only happens for Tk 8.4, not for Tk 8.5. Tip for Ubuntu users: Here's how to compile Ruby/Tk against the new Tk 8.5: http://drx.rubyforge.org/ubuntu-new-tk.html > > Is there any chance you'll extend this to show an object's > contents instead of or in addition to it's class/type? Yes, there's a chance. I haven't yet an idea how this feature will look/behave. > > You ought to provide a drx command so I can launch it directly > instead of invoking it via irb. Yes, that's a good idea. > > You should consider using the EDITOR or VISUAL environment > variables instead of DRX_EDITOR_COMMAND. There are several reasons for not doing this. Jakub has explained. I certainly don't want to use my EDITOR: mine works only in the console, and gedit starts up faster. (Besides, I don't recommend people to use this environment variable anyway. They should put all their configuration in ~/.drxrc: it's much better because they can backup it, copy to other systems, etc. This DRX_EDITOR_COMMAND exists only because DrX didn't have ~/.drxrc when I wrote that section in the user manual.) Brian Candler wrote: > Only suggestion: a "back" button would be nice. I had to go to > the docs to find out that right-click = back. Thanks, I've added this to my Issue Tracker. -- Posted via http://www.ruby-forum.com/.