Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Re: Re: st: more fancy NP++ editor


From   "Friedrich Huebler" <fhuebler@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: Re: Re: st: more fancy NP++ editor
Date   Fri, 14 Nov 2008 11:24:32 -0500

Martin Wang,

As Martin Weiss indicated, the rundolines program is all you need. If
you want to run an entire do-file you have two options: (a) save the
file, then execute the rundo program, or (b) select all text in the
editor, then execute the rundolines program. In terms of mouse clicks
or keyboard shortcuts, rundo and rundolines require the same effort.
However, rundolines has the advantage of being more flexible because
you can select only one or more lines or the entire do-file.

Friedrich

2008/11/14 Friedrich Huebler <fhuebler@gmail.com>:
> Martin Wang,
>
> Martin Weiss already answered your question. I am afraid I cannot help
> you if you consider pressing Ctrl-A to select all text in the editor
> too much effort.
>
> Friedrich
>
> 2008/11/14 Martin Wang <zwang215@gmail.com>:
>> Then everytime you run the file, you need to select the code first, right? I'm too lazy to do that step...
>>
>> Thanks,
>>
>> Martin
>>
>> ======= 2008-11-14 15:09:47 Original Message:=======
>>
>>>Well, rundolines is THE option to do this. In fact, I never bothered to
>>>install "rundo" because I regarded its functionality as redundant compared
>>>to rundolines...
>>>
>>>HTH
>>>Martin
>>>
>>>-------- Original-Nachricht --------
>>>> Datum: Fri, 14 Nov 2008 14:51:40 +0800
>>>> Von: "Martin Wang" <zwang215@gmail.com>
>>>> An: "statalist@hsphsun2.harvard.edu" <statalist@hsphsun2.harvard.edu>
>>>> Betreff: Re: Re: st: more fancy NP++ editor
>>>
>>>> Hi Friedrich,
>>>>
>>>> Thank you very much for your great efforts on combining NP++ and Stata. I
>>>> appreciate your features of saving before running, but my habit, maybe bad,
>>>> is run without saving, and only save when I close the do file. In this
>>>> case do you have some ways to deal with this problem? I understand select all
>>>> and run do lines is an option.
>>>>
>>>> Many thanks,
>>>>
>>>> Martin
>>>>
>>>> ======= 2008-11-11 23:04:06 Original Message:=======
>>>>
>>>> >Martin,
>>>> >
>>>> >You write about a "bug" in my rundo program. The behavior you describe
>>>> >is not a bug, it is a feature. I quote from the documentation on my
>>>> >website:
>>>> >
>>>> >"Note that a do-file must be saved before the rundo program is called
>>>> >because it looks for the saved version of the document that is
>>>> >currently being edited. An alternative would be to first select the
>>>> >entire text in the editor and then call the rundolines program, which
>>>> >passes all selected lines to Stata."
>>>> >
>>>> >Instead of the URL in your message please bookmark the permanent URL:
>>>> >
>>>> >http://huebler.info/2008/20080427-stata.html
>>>> >
>>>> >Thanks,
>>>> >
>>>> >Friedrich
>

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index