I have used Notepad++ and enjoy its syntax hilighting and code-folding
features.
However, I keep coming back to Notetab (notetab.com) because the
interactivity with other programs is built into Notetab itself, not
provided by a scripting utility like AutoIt. I have developed a
library of text-processing functions and interactivity with Stata
based on work started by Ross Odell.
The library can be found at:
http://www3.ns.sympatico.ca/d.elliott/Stata.clb . This works with
Notetab versions up to 4.95. I also have a version that works with
Notetab 5+ that I can make available upon request.
For working with do files it has run, do, do-selected and do-to-end
functionality. It will do a lookup of Stata commands directly from
the editor, and if Stata isn't open, it will start Stata. You can't
get that functionality from existing AutoIt scripts. I have included
an experimental execute-mata command that will paste a block of mata
code into Stata and run it.
A list of the text functions and links with Stata is included below:
_____________________
About this Library...
���������������������
Do/Run/Test Commands
���������������������
run all/selected
do all/selected
do to end
execute mata
-----------------------
Debug (trace on|off)
Cleanup (programs|logs)
Clear Programs from Memory
Match brackets
Close Log
Strip #review numbers
Commenting
���������������������
Comment selection /**/
Add Comment to block
Uncomment a block
Quick Reference
���������������������
Math Functions
String Functions
Keyword Help
Programming Constructs
���������������������
Ado Header
while
if
for
macro string quotes (`"`'"')
macro plain quotes (`')
macro dir (for debugging)
generate
egen
replace
Multi-line display cmd
Utilities
���������������������
List files
List do-files + *comments
List ado-files + /*comments*/
List all ado in subdirectories
Strip Log Cmds to File
Format Table for WP
Alternate Table Format
-----------------------
Stata Website Links
(These last two are required because Notetab needs to store the path
to the executable and the "flavour" of stata in the Windows Registry)
Reset Registry
OnOpen
*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/