Saturday, January 28, 2006

RB Browser/Editor enhanced by Steve Garman

If you've been finding my RB Browser Editor for the Language Reference (RB-BE-LR) useful, you'll be glad to hear that a version enhanced by Steve Garman (RB-BL-LPsg) using code by Mars Saxman as a foundation is now available.

The feedback I got on my program indicated that some people thought it would be nice if it had a Splitter so that the amount of space given to the browser and the editor could be adjusted. At my request, Steve Garman added such a feature.

Here are recent relevant emails I received from Steve:

-------- Original Message --------
Subject: Splitter
Date: Tue, 17 Jan 2006
From: Steve Garman
To: Barry Traver

Barry,

In the end, I decided not to mess around with a general-purpose splitter.

I've taken out most of the resizing code and added a canvas called
horizSplit.

Hope this is the sort of thing you were looking for.

Regards,
Steve
--
Steve Garman
Using REALbasic 2006r1 Professional on Windows XP Pro
-----End of Original Message -----

-------- Original Message --------
Subject: Re: Splitter
Date: Fri, 27 Jan 2006
From: Steve Garman
To: Barry Traver

In a message regarding Re: Splitter dated Fri, 27 Jan 2006,
Barry Traver said that ...

> Thanks. It seems to work fine. Do you have any objection to my
> releasing it publicly (including source code)? And how do I word the
> acknowledgement? Did you write the Splitter, or should I give someone
> else credit for that (and simply give you credit for incorporating it
> into the program)?

Barry, you're very welcome to publish the code.

It's dignifying my addition to call it a splitter, it's just a canvas
dragged onto the window which takes advantage of the new MouseDrag event.

There's really no need to give me credit.

The code in the Paint event that draws the handle was copied from Mars Saxman's splitter control at http://www.redplanetsw.com/realbasic/. It would probably be polite to mention that.

--
Steve Garman
Using REALbasic 2006r1 Professional on Windows XP Pro
-----End of Original Message -----

For the sake of those unfamiliar with the program (download RB-BR-LR for the original version or download RB-BE-LRsg to get Steve's enhanced version), RB Browser/Editor for the Language Reference not only makes it easy to add your own annotations and code snippets to the Language Reference files so that your additions can be accessed from within the RB IDE, but also makes it easy to add links to relevant outside materials in HTML. (See http://snurl.com/lc4o for a general description of the program and see http://snurl.com/lc4p for a decripiton of a related utility.)

Enjoy!

Barry Traver

P.S. Make sure you've downloaded RB-BE-LR2.zip and RB-BE-LR2sg, which are replacements for the RB-BE-LR.zip and RB-BE-LRsg.zip files I uploaded earlier. The new versions include two bug fixes, one of which which prevented internal links from working properly.



Home Page for This Blog: http://traverrb.blogspot.com/

Programs and Files Discussed in the Blog: http://traver.org/traverrb/

0 Comments:

Post a Comment

Links to this post:

Create a Link

<< Home