Hi Terry;

On Thu, 2006-17-08 at 01:15 +0000, Terry wrote:
> William Case <billlinux <at> rogers.com> writes:
> 
> > I would like to add some macros with buttons /shorcut key to the macro
> > IDE itself.  Or, maybe it already exits somewhere but I couldn't find
> > it?

> > Right now I am looking for a way to easily 'rem' out lines while I am
> > debugging or editing a macro.  I also want to remove the 'rem's after I
> > am finished.
> > 
> Find and replace.

Not quite the same.  More trouble than what I am looking for.
> 
> > Does such a facility as an addin macro exist that someone knows about or
> > is there a way for me to write and add it to the IDE.  I am trying to
> > avoid SDK,
> > 
> 
> What do you want the addin macro to do?

I occasionally write small programs in C for example.  I use emacs but I
believe that there is the same facility in vi.

When I am debugging or just editing and improving a hunk of code I have
lisp commands 'comment-region' and 'uncomment-region' available that
automatically puts a comment symbol in front of selected lines of code
to hide them from the compiler.  It also uncomments when I am finished
playing around.

For example, in a complex macro I recorded today I didn't get it quite
right (I had finger stutter).  Before editing stuff out, if I could have
'rem'ed several lines and added what I thought would be more efficient,
I could then experiment with the option that in the end I could remove
the changes and the 'rem's and start over. No need to re-record the
macro; no need to do it all by coding. If "enter rem " " down home" or
such, were assigned to a key it would be easier. Better, would be to
select several lines of code and click or key for several lines of
'rem'.

That's why.

-- 
Regards Bill

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to