realbasic-nug
[Top] [All Lists]

Re: CodeCleaner 0.6

To: REALbasic Network Users Group <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: CodeCleaner 0.6
From: Norman Palardy <npalardy at zymetacorp dot com>
Date: Sun, 30 Mar 2003 13:02:03 -0700
How about a way to split very long string assignments into multiple lines that give the equivalent ?

something like

        dim t as string
        
        t = "something that will run wayyyyy off the edge of the editor window"

and after processing it splits it up to

        t = "something"
        t = t + " that"
        t = t + " will"
        etc ..

so the end result is a wrapped assignment statement

this seems like it would be very handy

On Sunday, March 30, 2003, at 05:01  AM, Owen Yamauchi wrote:

On Sunday, Mar 30, 2003, at 01:38 Europe/Brussels, Lars Jensen wrote:

1) Starting with this:
...
Problem: my comments went away.

I can fix that, but where should I put the comments after the statements have been split up?

2) Starting with this:
...
Problem: it appended the next line ("nLines = 6") at the end of my comment. I think my selection ended on the blank line between the last comment and
"nLines = 6"

I think this is just an issue with return characters. Easy to fix.

Was this really "Do Nothing"? Maybe not, but I thought that was what was in the menu when I got the preferences. That's part of why I don't like the current mode of operation -- you can never see what you're about to do, you have to do it and then it will tell you what it did. Makes it very hard to
keep track of what's going on.

So what would you suggest? How about deciding on a use-by-use basis, so that a window looking like the Prefs window appears every time you invoke CodeCleaner?

Yup, as well as all other RB keywords. That's part of what I'd want a
full-featured Code Cleaner to do, so when I pasted in other code it would
look like I like it.

OK, I'll start on a new feature then. I've got a few ideas for this already, as Brendan Murphy suggested to me.

Well, all I was trying to do by having it stay open was avoid the time required to launch it each time it's invoked. I suppose I could make it
a preference.

I strongly request at least that, and I'd recommend having it off by
default.

OK, that's easy enough.

As to your other email, addressing the issue of opening CodeCleaner without RB open and having it fire up RB, I've fixed that with help from George Clark.

Regards,


--
Owen Yamauchi
Domain Softworx
Quality shareware for the Mac
http://connect.to/domainsoftworx/


---
A searchable archive of this list is available at:
<http://support.realsoftware.com/listarchives/search.php>

Unsubscribe:
<mailto:realbasic-nug-off at lists dot realsoftware dot com>

Subscribe to the digest: <mailto:realbasic-nug-digest at lists dot realsoftware dot com>


Norman Palardy
Director Of Software Development     Zymeta Corporation
npalardy at zymetacorp dot com                 www.zymeta.com


---
A searchable archive of this list is available at:
<http://support.realsoftware.com/listarchives/search.php>

Unsubscribe:
<mailto:realbasic-nug-off at lists dot realsoftware dot com>

Subscribe to the digest: <mailto:realbasic-nug-digest at lists dot realsoftware dot com>
.


<Prev in Thread] Current Thread [Next in Thread>